AWS SDK for C++  1.9.132
AWS SDK for C++
ApplicationInfo.h
Go to the documentation of this file.
1 
6 #pragma once
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 ApplicationInsights
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
44 
48  inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
49 
53  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
54 
58  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
59 
63  inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
64 
68  inline ApplicationInfo& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
69 
73  inline ApplicationInfo& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
74 
78  inline ApplicationInfo& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
79 
80 
84  inline const Aws::String& GetLifeCycle() const{ return m_lifeCycle; }
85 
89  inline bool LifeCycleHasBeenSet() const { return m_lifeCycleHasBeenSet; }
90 
94  inline void SetLifeCycle(const Aws::String& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = value; }
95 
99  inline void SetLifeCycle(Aws::String&& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = std::move(value); }
100 
104  inline void SetLifeCycle(const char* value) { m_lifeCycleHasBeenSet = true; m_lifeCycle.assign(value); }
105 
109  inline ApplicationInfo& WithLifeCycle(const Aws::String& value) { SetLifeCycle(value); return *this;}
110 
114  inline ApplicationInfo& WithLifeCycle(Aws::String&& value) { SetLifeCycle(std::move(value)); return *this;}
115 
119  inline ApplicationInfo& WithLifeCycle(const char* value) { SetLifeCycle(value); return *this;}
120 
121 
126  inline const Aws::String& GetOpsItemSNSTopicArn() const{ return m_opsItemSNSTopicArn; }
127 
132  inline bool OpsItemSNSTopicArnHasBeenSet() const { return m_opsItemSNSTopicArnHasBeenSet; }
133 
138  inline void SetOpsItemSNSTopicArn(const Aws::String& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = value; }
139 
144  inline void SetOpsItemSNSTopicArn(Aws::String&& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = std::move(value); }
145 
150  inline void SetOpsItemSNSTopicArn(const char* value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn.assign(value); }
151 
156  inline ApplicationInfo& WithOpsItemSNSTopicArn(const Aws::String& value) { SetOpsItemSNSTopicArn(value); return *this;}
157 
162  inline ApplicationInfo& WithOpsItemSNSTopicArn(Aws::String&& value) { SetOpsItemSNSTopicArn(std::move(value)); return *this;}
163 
168  inline ApplicationInfo& WithOpsItemSNSTopicArn(const char* value) { SetOpsItemSNSTopicArn(value); return *this;}
169 
170 
175  inline bool GetOpsCenterEnabled() const{ return m_opsCenterEnabled; }
176 
181  inline bool OpsCenterEnabledHasBeenSet() const { return m_opsCenterEnabledHasBeenSet; }
182 
187  inline void SetOpsCenterEnabled(bool value) { m_opsCenterEnabledHasBeenSet = true; m_opsCenterEnabled = value; }
188 
193  inline ApplicationInfo& WithOpsCenterEnabled(bool value) { SetOpsCenterEnabled(value); return *this;}
194 
195 
201  inline bool GetCWEMonitorEnabled() const{ return m_cWEMonitorEnabled; }
202 
208  inline bool CWEMonitorEnabledHasBeenSet() const { return m_cWEMonitorEnabledHasBeenSet; }
209 
215  inline void SetCWEMonitorEnabled(bool value) { m_cWEMonitorEnabledHasBeenSet = true; m_cWEMonitorEnabled = value; }
216 
222  inline ApplicationInfo& WithCWEMonitorEnabled(bool value) { SetCWEMonitorEnabled(value); return *this;}
223 
224 
231  inline const Aws::String& GetRemarks() const{ return m_remarks; }
232 
239  inline bool RemarksHasBeenSet() const { return m_remarksHasBeenSet; }
240 
247  inline void SetRemarks(const Aws::String& value) { m_remarksHasBeenSet = true; m_remarks = value; }
248 
255  inline void SetRemarks(Aws::String&& value) { m_remarksHasBeenSet = true; m_remarks = std::move(value); }
256 
263  inline void SetRemarks(const char* value) { m_remarksHasBeenSet = true; m_remarks.assign(value); }
264 
271  inline ApplicationInfo& WithRemarks(const Aws::String& value) { SetRemarks(value); return *this;}
272 
279  inline ApplicationInfo& WithRemarks(Aws::String&& value) { SetRemarks(std::move(value)); return *this;}
280 
287  inline ApplicationInfo& WithRemarks(const char* value) { SetRemarks(value); return *this;}
288 
289  private:
290 
291  Aws::String m_resourceGroupName;
292  bool m_resourceGroupNameHasBeenSet;
293 
294  Aws::String m_lifeCycle;
295  bool m_lifeCycleHasBeenSet;
296 
297  Aws::String m_opsItemSNSTopicArn;
298  bool m_opsItemSNSTopicArnHasBeenSet;
299 
300  bool m_opsCenterEnabled;
301  bool m_opsCenterEnabledHasBeenSet;
302 
303  bool m_cWEMonitorEnabled;
304  bool m_cWEMonitorEnabledHasBeenSet;
305 
306  Aws::String m_remarks;
307  bool m_remarksHasBeenSet;
308  };
309 
310 } // namespace Model
311 } // namespace ApplicationInsights
312 } // namespace Aws
Aws::ApplicationInsights::Model::ApplicationInfo::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: ApplicationInfo.h:43
Aws::ApplicationInsights::Model::ApplicationInfo::GetRemarks
const Aws::String & GetRemarks() const
Definition: ApplicationInfo.h:231
Aws::ApplicationInsights::Model::ApplicationInfo::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: ApplicationInfo.h:48
Aws::ApplicationInsights::Model::ApplicationInfo
Definition: ApplicationInfo.h:32
Aws::ApplicationInsights::Model::ApplicationInfo::GetLifeCycle
const Aws::String & GetLifeCycle() const
Definition: ApplicationInfo.h:84
Aws::ApplicationInsights::Model::ApplicationInfo::SetLifeCycle
void SetLifeCycle(Aws::String &&value)
Definition: ApplicationInfo.h:99
Aws::ApplicationInsights::Model::ApplicationInfo::CWEMonitorEnabledHasBeenSet
bool CWEMonitorEnabledHasBeenSet() const
Definition: ApplicationInfo.h:208
Aws::ApplicationInsights::Model::ApplicationInfo::SetRemarks
void SetRemarks(const Aws::String &value)
Definition: ApplicationInfo.h:247
Aws::ApplicationInsights::Model::ApplicationInfo::WithOpsItemSNSTopicArn
ApplicationInfo & WithOpsItemSNSTopicArn(Aws::String &&value)
Definition: ApplicationInfo.h:162
Aws::ApplicationInsights::Model::ApplicationInfo::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: ApplicationInfo.h:63
Aws::ApplicationInsights::Model::ApplicationInfo::WithOpsItemSNSTopicArn
ApplicationInfo & WithOpsItemSNSTopicArn(const char *value)
Definition: ApplicationInfo.h:168
Aws::ApplicationInsights::Model::ApplicationInfo::WithOpsItemSNSTopicArn
ApplicationInfo & WithOpsItemSNSTopicArn(const Aws::String &value)
Definition: ApplicationInfo.h:156
Aws::ApplicationInsights::Model::ApplicationInfo::SetOpsItemSNSTopicArn
void SetOpsItemSNSTopicArn(const Aws::String &value)
Definition: ApplicationInfo.h:138
Aws::ApplicationInsights::Model::ApplicationInfo::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: ApplicationInfo.h:53
Aws::ApplicationInsights::Model::ApplicationInfo::SetCWEMonitorEnabled
void SetCWEMonitorEnabled(bool value)
Definition: ApplicationInfo.h:215
Aws::ApplicationInsights::Model::ApplicationInfo::WithResourceGroupName
ApplicationInfo & WithResourceGroupName(Aws::String &&value)
Definition: ApplicationInfo.h:73
Aws::ApplicationInsights::Model::ApplicationInfo::LifeCycleHasBeenSet
bool LifeCycleHasBeenSet() const
Definition: ApplicationInfo.h:89
Aws::ApplicationInsights::Model::ApplicationInfo::ApplicationInfo
ApplicationInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationInsights::Model::ApplicationInfo::WithCWEMonitorEnabled
ApplicationInfo & WithCWEMonitorEnabled(bool value)
Definition: ApplicationInfo.h:222
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::ApplicationInfo::GetCWEMonitorEnabled
bool GetCWEMonitorEnabled() const
Definition: ApplicationInfo.h:201
Aws::ApplicationInsights::Model::ApplicationInfo::OpsCenterEnabledHasBeenSet
bool OpsCenterEnabledHasBeenSet() const
Definition: ApplicationInfo.h:181
Aws::ApplicationInsights::Model::ApplicationInfo::WithRemarks
ApplicationInfo & WithRemarks(Aws::String &&value)
Definition: ApplicationInfo.h:279
Aws::ApplicationInsights::Model::ApplicationInfo::WithLifeCycle
ApplicationInfo & WithLifeCycle(const Aws::String &value)
Definition: ApplicationInfo.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ApplicationInsights::Model::ApplicationInfo::GetOpsCenterEnabled
bool GetOpsCenterEnabled() const
Definition: ApplicationInfo.h:175
Aws::ApplicationInsights::Model::ApplicationInfo::WithRemarks
ApplicationInfo & WithRemarks(const char *value)
Definition: ApplicationInfo.h:287
Aws::ApplicationInsights::Model::ApplicationInfo::SetLifeCycle
void SetLifeCycle(const Aws::String &value)
Definition: ApplicationInfo.h:94
Aws::ApplicationInsights::Model::ApplicationInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ApplicationInsights::Model::ApplicationInfo::SetLifeCycle
void SetLifeCycle(const char *value)
Definition: ApplicationInfo.h:104
Aws::ApplicationInsights::Model::ApplicationInfo::WithLifeCycle
ApplicationInfo & WithLifeCycle(const char *value)
Definition: ApplicationInfo.h:119
Aws::ApplicationInsights::Model::ApplicationInfo::WithRemarks
ApplicationInfo & WithRemarks(const Aws::String &value)
Definition: ApplicationInfo.h:271
Aws::ApplicationInsights::Model::ApplicationInfo::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: ApplicationInfo.h:58
Aws::ApplicationInsights::Model::ApplicationInfo::WithResourceGroupName
ApplicationInfo & WithResourceGroupName(const char *value)
Definition: ApplicationInfo.h:78
Aws::ApplicationInsights::Model::ApplicationInfo::operator=
ApplicationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ApplicationInfo::WithOpsCenterEnabled
ApplicationInfo & WithOpsCenterEnabled(bool value)
Definition: ApplicationInfo.h:193
Aws::ApplicationInsights::Model::ApplicationInfo::WithResourceGroupName
ApplicationInfo & WithResourceGroupName(const Aws::String &value)
Definition: ApplicationInfo.h:68
Aws::ApplicationInsights::Model::ApplicationInfo::SetOpsCenterEnabled
void SetOpsCenterEnabled(bool value)
Definition: ApplicationInfo.h:187
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ApplicationInfo::GetOpsItemSNSTopicArn
const Aws::String & GetOpsItemSNSTopicArn() const
Definition: ApplicationInfo.h:126
Aws::ApplicationInsights::Model::ApplicationInfo::RemarksHasBeenSet
bool RemarksHasBeenSet() const
Definition: ApplicationInfo.h:239
Aws::ApplicationInsights::Model::ApplicationInfo::OpsItemSNSTopicArnHasBeenSet
bool OpsItemSNSTopicArnHasBeenSet() const
Definition: ApplicationInfo.h:132
Aws::ApplicationInsights::Model::ApplicationInfo::SetOpsItemSNSTopicArn
void SetOpsItemSNSTopicArn(Aws::String &&value)
Definition: ApplicationInfo.h:144
Aws::ApplicationInsights::Model::ApplicationInfo::ApplicationInfo
ApplicationInfo()
Aws::ApplicationInsights::Model::ApplicationInfo::SetOpsItemSNSTopicArn
void SetOpsItemSNSTopicArn(const char *value)
Definition: ApplicationInfo.h:150
Aws::ApplicationInsights::Model::ApplicationInfo::WithLifeCycle
ApplicationInfo & WithLifeCycle(Aws::String &&value)
Definition: ApplicationInfo.h:114
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::ApplicationInfo::SetRemarks
void SetRemarks(Aws::String &&value)
Definition: ApplicationInfo.h:255
Aws::ApplicationInsights::Model::ApplicationInfo::SetRemarks
void SetRemarks(const char *value)
Definition: ApplicationInfo.h:263