AWS SDK for C++  1.8.126
AWS SDK for C++
CloudWatchOutputConfig.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SSM
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
47  inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; }
48 
55  inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
56 
63  inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; }
64 
71  inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); }
72 
79  inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); }
80 
87  inline CloudWatchOutputConfig& WithCloudWatchLogGroupName(const Aws::String& value) { SetCloudWatchLogGroupName(value); return *this;}
88 
95  inline CloudWatchOutputConfig& WithCloudWatchLogGroupName(Aws::String&& value) { SetCloudWatchLogGroupName(std::move(value)); return *this;}
96 
103  inline CloudWatchOutputConfig& WithCloudWatchLogGroupName(const char* value) { SetCloudWatchLogGroupName(value); return *this;}
104 
105 
109  inline bool GetCloudWatchOutputEnabled() const{ return m_cloudWatchOutputEnabled; }
110 
114  inline bool CloudWatchOutputEnabledHasBeenSet() const { return m_cloudWatchOutputEnabledHasBeenSet; }
115 
119  inline void SetCloudWatchOutputEnabled(bool value) { m_cloudWatchOutputEnabledHasBeenSet = true; m_cloudWatchOutputEnabled = value; }
120 
124  inline CloudWatchOutputConfig& WithCloudWatchOutputEnabled(bool value) { SetCloudWatchOutputEnabled(value); return *this;}
125 
126  private:
127 
128  Aws::String m_cloudWatchLogGroupName;
129  bool m_cloudWatchLogGroupNameHasBeenSet;
130 
131  bool m_cloudWatchOutputEnabled;
132  bool m_cloudWatchOutputEnabledHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace SSM
137 } // namespace Aws
Aws::SSM::Model::CloudWatchOutputConfig::operator=
CloudWatchOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::CloudWatchOutputConfig::SetCloudWatchOutputEnabled
void SetCloudWatchOutputEnabled(bool value)
Definition: CloudWatchOutputConfig.h:119
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::CloudWatchOutputConfig::WithCloudWatchLogGroupName
CloudWatchOutputConfig & WithCloudWatchLogGroupName(const char *value)
Definition: CloudWatchOutputConfig.h:103
Aws::SSM::Model::CloudWatchOutputConfig::WithCloudWatchOutputEnabled
CloudWatchOutputConfig & WithCloudWatchOutputEnabled(bool value)
Definition: CloudWatchOutputConfig.h:124
Aws::SSM::Model::CloudWatchOutputConfig::CloudWatchOutputConfig
CloudWatchOutputConfig()
Aws::SSM::Model::CloudWatchOutputConfig::SetCloudWatchLogGroupName
void SetCloudWatchLogGroupName(Aws::String &&value)
Definition: CloudWatchOutputConfig.h:71
SSM_EXPORTS.h
Aws::SSM::Model::CloudWatchOutputConfig::SetCloudWatchLogGroupName
void SetCloudWatchLogGroupName(const Aws::String &value)
Definition: CloudWatchOutputConfig.h:63
Aws::SSM::Model::CloudWatchOutputConfig::GetCloudWatchLogGroupName
const Aws::String & GetCloudWatchLogGroupName() const
Definition: CloudWatchOutputConfig.h:47
Aws::SSM::Model::CloudWatchOutputConfig::SetCloudWatchLogGroupName
void SetCloudWatchLogGroupName(const char *value)
Definition: CloudWatchOutputConfig.h:79
Aws::SSM::Model::CloudWatchOutputConfig::CloudWatchOutputEnabledHasBeenSet
bool CloudWatchOutputEnabledHasBeenSet() const
Definition: CloudWatchOutputConfig.h:114
Aws::SSM::Model::CloudWatchOutputConfig::CloudWatchLogGroupNameHasBeenSet
bool CloudWatchLogGroupNameHasBeenSet() const
Definition: CloudWatchOutputConfig.h:55
Aws::SSM::Model::CloudWatchOutputConfig::WithCloudWatchLogGroupName
CloudWatchOutputConfig & WithCloudWatchLogGroupName(const Aws::String &value)
Definition: CloudWatchOutputConfig.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws::SSM::Model::CloudWatchOutputConfig::CloudWatchOutputConfig
CloudWatchOutputConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::CloudWatchOutputConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSM::Model::CloudWatchOutputConfig::WithCloudWatchLogGroupName
CloudWatchOutputConfig & WithCloudWatchLogGroupName(Aws::String &&value)
Definition: CloudWatchOutputConfig.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::Model::CloudWatchOutputConfig::GetCloudWatchOutputEnabled
bool GetCloudWatchOutputEnabled() const
Definition: CloudWatchOutputConfig.h:109
Aws::SSM::Model::CloudWatchOutputConfig
Definition: CloudWatchOutputConfig.h:33