/**
* 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 SFN
{
namespace Model
{
/**
* See Also:
AWS
* API Reference
*/
class CloudWatchLogsLogGroup
{
public:
AWS_SFN_API CloudWatchLogsLogGroup();
AWS_SFN_API CloudWatchLogsLogGroup(Aws::Utils::Json::JsonView jsonValue);
AWS_SFN_API CloudWatchLogsLogGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; }
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; }
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; }
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); }
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); }
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline CloudWatchLogsLogGroup& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;}
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline CloudWatchLogsLogGroup& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;}
/**
* The ARN of the the CloudWatch log group to which you want your logs emitted
* to. The ARN must end with :*
*/
inline CloudWatchLogsLogGroup& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;}
private:
Aws::String m_logGroupArn;
bool m_logGroupArnHasBeenSet = false;
};
} // namespace Model
} // namespace SFN
} // namespace Aws