This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-guardduty/include/aws/guardduty/model/S3LogsConfigurationResult.h

86 lines
2.6 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/guardduty/GuardDuty_EXPORTS.h>
#include <aws/guardduty/model/DataSourceStatus.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace GuardDuty
{
namespace Model
{
/**
* <p>Describes whether S3 data event logs will be enabled as a data
* source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfigurationResult">AWS
* API Reference</a></p>
*/
class AWS_GUARDDUTY_API S3LogsConfigurationResult
{
public:
S3LogsConfigurationResult();
S3LogsConfigurationResult(Aws::Utils::Json::JsonView jsonValue);
S3LogsConfigurationResult& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A value that describes whether S3 data event logs are automatically enabled
* for new members of the organization.</p>
*/
inline const DataSourceStatus& GetStatus() const{ return m_status; }
/**
* <p>A value that describes whether S3 data event logs are automatically enabled
* for new members of the organization.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>A value that describes whether S3 data event logs are automatically enabled
* for new members of the organization.</p>
*/
inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>A value that describes whether S3 data event logs are automatically enabled
* for new members of the organization.</p>
*/
inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>A value that describes whether S3 data event logs are automatically enabled
* for new members of the organization.</p>
*/
inline S3LogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
/**
* <p>A value that describes whether S3 data event logs are automatically enabled
* for new members of the organization.</p>
*/
inline S3LogsConfigurationResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
private:
DataSourceStatus m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace GuardDuty
} // namespace Aws