AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorSsmCommandConfig.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn
22{
23namespace Model
24{
25
32 {
33 public:
38
39
41
44 inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; }
45 inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
46 inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; }
47 inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); }
48 inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); }
51 inline ConnectorSsmCommandConfig& WithCloudWatchLogGroupName(const char* value) { SetCloudWatchLogGroupName(value); return *this;}
53
55
58 inline bool GetCloudWatchOutputEnabled() const{ return m_cloudWatchOutputEnabled; }
59 inline bool CloudWatchOutputEnabledHasBeenSet() const { return m_cloudWatchOutputEnabledHasBeenSet; }
60 inline void SetCloudWatchOutputEnabled(bool value) { m_cloudWatchOutputEnabledHasBeenSet = true; m_cloudWatchOutputEnabled = value; }
63
65
68 inline const Aws::String& GetOutputS3BucketName() const{ return m_outputS3BucketName; }
69 inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
70 inline void SetOutputS3BucketName(const Aws::String& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = value; }
71 inline void SetOutputS3BucketName(Aws::String&& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = std::move(value); }
72 inline void SetOutputS3BucketName(const char* value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName.assign(value); }
74 inline ConnectorSsmCommandConfig& WithOutputS3BucketName(Aws::String&& value) { SetOutputS3BucketName(std::move(value)); return *this;}
75 inline ConnectorSsmCommandConfig& WithOutputS3BucketName(const char* value) { SetOutputS3BucketName(value); return *this;}
77
79
82 inline bool GetS3OutputEnabled() const{ return m_s3OutputEnabled; }
83 inline bool S3OutputEnabledHasBeenSet() const { return m_s3OutputEnabledHasBeenSet; }
84 inline void SetS3OutputEnabled(bool value) { m_s3OutputEnabledHasBeenSet = true; m_s3OutputEnabled = value; }
85 inline ConnectorSsmCommandConfig& WithS3OutputEnabled(bool value) { SetS3OutputEnabled(value); return *this;}
87 private:
88
89 Aws::String m_cloudWatchLogGroupName;
90 bool m_cloudWatchLogGroupNameHasBeenSet = false;
91
92 bool m_cloudWatchOutputEnabled;
93 bool m_cloudWatchOutputEnabledHasBeenSet = false;
94
95 Aws::String m_outputS3BucketName;
96 bool m_outputS3BucketNameHasBeenSet = false;
97
98 bool m_s3OutputEnabled;
99 bool m_s3OutputEnabledHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace mgn
104} // namespace Aws
ConnectorSsmCommandConfig & WithCloudWatchLogGroupName(const Aws::String &value)
ConnectorSsmCommandConfig & WithOutputS3BucketName(Aws::String &&value)
ConnectorSsmCommandConfig & WithS3OutputEnabled(bool value)
void SetCloudWatchLogGroupName(const Aws::String &value)
ConnectorSsmCommandConfig & WithCloudWatchOutputEnabled(bool value)
ConnectorSsmCommandConfig & WithCloudWatchLogGroupName(Aws::String &&value)
AWS_MGN_API ConnectorSsmCommandConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorSsmCommandConfig & WithCloudWatchLogGroupName(const char *value)
ConnectorSsmCommandConfig & WithOutputS3BucketName(const Aws::String &value)
ConnectorSsmCommandConfig & WithOutputS3BucketName(const char *value)
AWS_MGN_API ConnectorSsmCommandConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue