/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace InternetMonitor { namespace Model { /** *

Publish internet measurements to an Amazon S3 bucket in addition to * CloudWatch Logs.

See Also:

AWS * API Reference

*/ class InternetMeasurementsLogDelivery { public: AWS_INTERNETMONITOR_API InternetMeasurementsLogDelivery(); AWS_INTERNETMONITOR_API InternetMeasurementsLogDelivery(Aws::Utils::Json::JsonView jsonValue); AWS_INTERNETMONITOR_API InternetMeasurementsLogDelivery& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The configuration information for publishing Internet Monitor internet * measurements to Amazon S3. The configuration includes the bucket name and * (optionally) prefix for the S3 bucket to store the measurements, and the * delivery status. The delivery status is ENABLED or * DISABLED, depending on whether you choose to deliver internet * measurements to S3 logs.

*/ inline const S3Config& GetS3Config() const{ return m_s3Config; } /** *

The configuration information for publishing Internet Monitor internet * measurements to Amazon S3. The configuration includes the bucket name and * (optionally) prefix for the S3 bucket to store the measurements, and the * delivery status. The delivery status is ENABLED or * DISABLED, depending on whether you choose to deliver internet * measurements to S3 logs.

*/ inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; } /** *

The configuration information for publishing Internet Monitor internet * measurements to Amazon S3. The configuration includes the bucket name and * (optionally) prefix for the S3 bucket to store the measurements, and the * delivery status. The delivery status is ENABLED or * DISABLED, depending on whether you choose to deliver internet * measurements to S3 logs.

*/ inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; } /** *

The configuration information for publishing Internet Monitor internet * measurements to Amazon S3. The configuration includes the bucket name and * (optionally) prefix for the S3 bucket to store the measurements, and the * delivery status. The delivery status is ENABLED or * DISABLED, depending on whether you choose to deliver internet * measurements to S3 logs.

*/ inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); } /** *

The configuration information for publishing Internet Monitor internet * measurements to Amazon S3. The configuration includes the bucket name and * (optionally) prefix for the S3 bucket to store the measurements, and the * delivery status. The delivery status is ENABLED or * DISABLED, depending on whether you choose to deliver internet * measurements to S3 logs.

*/ inline InternetMeasurementsLogDelivery& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;} /** *

The configuration information for publishing Internet Monitor internet * measurements to Amazon S3. The configuration includes the bucket name and * (optionally) prefix for the S3 bucket to store the measurements, and the * delivery status. The delivery status is ENABLED or * DISABLED, depending on whether you choose to deliver internet * measurements to S3 logs.

*/ inline InternetMeasurementsLogDelivery& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;} private: S3Config m_s3Config; bool m_s3ConfigHasBeenSet = false; }; } // namespace Model } // namespace InternetMonitor } // namespace Aws