/** * 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 KinesisAnalyticsV2 { namespace Model { /** *

Describes the Amazon CloudWatch logging option updates.

See * Also:

AWS * API Reference

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

The ID of the CloudWatch logging option to update

*/ inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; } /** *

The ID of the CloudWatch logging option to update

*/ inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; } /** *

The ID of the CloudWatch logging option to update

*/ inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; } /** *

The ID of the CloudWatch logging option to update

*/ inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); } /** *

The ID of the CloudWatch logging option to update

*/ inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); } /** *

The ID of the CloudWatch logging option to update

*/ inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;} /** *

The ID of the CloudWatch logging option to update

*/ inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;} /** *

The ID of the CloudWatch logging option to update

*/ inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(const char* value) { SetCloudWatchLoggingOptionId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline const Aws::String& GetLogStreamARNUpdate() const{ return m_logStreamARNUpdate; } /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline bool LogStreamARNUpdateHasBeenSet() const { return m_logStreamARNUpdateHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline void SetLogStreamARNUpdate(const Aws::String& value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate = value; } /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline void SetLogStreamARNUpdate(Aws::String&& value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate = std::move(value); } /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline void SetLogStreamARNUpdate(const char* value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate.assign(value); } /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(const Aws::String& value) { SetLogStreamARNUpdate(value); return *this;} /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(Aws::String&& value) { SetLogStreamARNUpdate(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.

*/ inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(const char* value) { SetLogStreamARNUpdate(value); return *this;} private: Aws::String m_cloudWatchLoggingOptionId; bool m_cloudWatchLoggingOptionIdHasBeenSet = false; Aws::String m_logStreamARNUpdate; bool m_logStreamARNUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws