/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains logging configuration information for an extension.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline const Aws::String& GetLogRoleArn() const{ return m_logRoleArn; } /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline bool LogRoleArnHasBeenSet() const { return m_logRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline void SetLogRoleArn(const Aws::String& value) { m_logRoleArnHasBeenSet = true; m_logRoleArn = value; } /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline void SetLogRoleArn(Aws::String&& value) { m_logRoleArnHasBeenSet = true; m_logRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline void SetLogRoleArn(const char* value) { m_logRoleArnHasBeenSet = true; m_logRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline LoggingConfig& WithLogRoleArn(const Aws::String& value) { SetLogRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline LoggingConfig& WithLogRoleArn(Aws::String&& value) { SetLogRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the role that CloudFormation should assume * when sending log entries to CloudWatch Logs.
*/ inline LoggingConfig& WithLogRoleArn(const char* value) { SetLogRoleArn(value); return *this;} /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline LoggingConfig& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline LoggingConfig& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} /** *The Amazon CloudWatch Logs group to which CloudFormation sends error logging * information when invoking the extension's handlers.
*/ inline LoggingConfig& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} private: Aws::String m_logRoleArn; bool m_logRoleArnHasBeenSet = false; Aws::String m_logGroupName; bool m_logGroupNameHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws