/**
* 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 SecurityHub
{
namespace Model
{
/**
* An object describing a CloudWatch log group. For more information, see
* Amazon Web Services::Logs::LogGroup in the CloudFormation User Guide.
*
See Also:
AWS
* API Reference
*/
class AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails
{
public:
AWS_SECURITYHUB_API AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails();
AWS_SECURITYHUB_API AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; }
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; }
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; }
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); }
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); }
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;}
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;}
/**
* The ARN (ends with :*
) of the CloudWatch Logs log group to which
* you want your logs emitted.
*/
inline AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;}
private:
Aws::String m_logGroupArn;
bool m_logGroupArnHasBeenSet = false;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws