/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the Amazon CloudWatch logging option.See Also:
AWS
* API Reference
The ID of the CloudWatch logging option description.
*/ inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; } /** *The ID of the CloudWatch logging option description.
*/ inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; } /** *The ID of the CloudWatch logging option description.
*/ inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; } /** *The ID of the CloudWatch logging option description.
*/ inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); } /** *The ID of the CloudWatch logging option description.
*/ inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); } /** *The ID of the CloudWatch logging option description.
*/ inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;} /** *The ID of the CloudWatch logging option description.
*/ inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;} /** *The ID of the CloudWatch logging option description.
*/ inline CloudWatchLoggingOptionDescription& 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& GetLogStreamARN() const{ return m_logStreamARN; } /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; } /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline void SetLogStreamARN(Aws::String&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); } /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const Aws::String& value) { SetLogStreamARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline CloudWatchLoggingOptionDescription& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the CloudWatch log to receive application * messages.
*/ inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;} /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline CloudWatchLoggingOptionDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline CloudWatchLoggingOptionDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} /** *The IAM ARN of the role to use to send application messages.
*Provided for backward compatibility. Applications created with the current * API version have an application-level service execution role rather than a * resource-level role.
*/ inline CloudWatchLoggingOptionDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} private: Aws::String m_cloudWatchLoggingOptionId; bool m_cloudWatchLoggingOptionIdHasBeenSet = false; Aws::String m_logStreamARN; bool m_logStreamARNHasBeenSet = false; Aws::String m_roleARN; bool m_roleARNHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws