/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an action that sends data to CloudWatch Logs.See
* Also:
AWS
* API Reference
The IAM role that allows access to the CloudWatch log.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The IAM role that allows access to the CloudWatch log.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The IAM role that allows access to the CloudWatch log.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The IAM role that allows access to the CloudWatch log.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The IAM role that allows access to the CloudWatch log.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The IAM role that allows access to the CloudWatch log.
*/ inline CloudwatchLogsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The IAM role that allows access to the CloudWatch log.
*/ inline CloudwatchLogsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The IAM role that allows access to the CloudWatch log.
*/ inline CloudwatchLogsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The CloudWatch log group to which the action sends data.
*/ inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } /** *The CloudWatch log group to which the action sends data.
*/ inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } /** *The CloudWatch log group to which the action sends data.
*/ inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } /** *The CloudWatch log group to which the action sends data.
*/ inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } /** *The CloudWatch log group to which the action sends data.
*/ inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } /** *The CloudWatch log group to which the action sends data.
*/ inline CloudwatchLogsAction& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} /** *The CloudWatch log group to which the action sends data.
*/ inline CloudwatchLogsAction& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} /** *The CloudWatch log group to which the action sends data.
*/ inline CloudwatchLogsAction& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} /** *Indicates whether batches of log records will be extracted and uploaded into
* CloudWatch. Values include true
or false
* (default).
Indicates whether batches of log records will be extracted and uploaded into
* CloudWatch. Values include true
or false
* (default).
Indicates whether batches of log records will be extracted and uploaded into
* CloudWatch. Values include true
or false
* (default).
Indicates whether batches of log records will be extracted and uploaded into
* CloudWatch. Values include true
or false
* (default).