AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationInfo.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-insights/model/DiscoveryType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationInsights
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPLICATIONINSIGHTS_API ApplicationInfo();
36 AWS_APPLICATIONINSIGHTS_API ApplicationInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONINSIGHTS_API ApplicationInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline ApplicationInfo& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline ApplicationInfo& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline ApplicationInfo& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
60 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
61 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
62 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
63 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
64 inline ApplicationInfo& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
65 inline ApplicationInfo& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
66 inline ApplicationInfo& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
68
70
73 inline const Aws::String& GetLifeCycle() const{ return m_lifeCycle; }
74 inline bool LifeCycleHasBeenSet() const { return m_lifeCycleHasBeenSet; }
75 inline void SetLifeCycle(const Aws::String& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = value; }
76 inline void SetLifeCycle(Aws::String&& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = std::move(value); }
77 inline void SetLifeCycle(const char* value) { m_lifeCycleHasBeenSet = true; m_lifeCycle.assign(value); }
78 inline ApplicationInfo& WithLifeCycle(const Aws::String& value) { SetLifeCycle(value); return *this;}
79 inline ApplicationInfo& WithLifeCycle(Aws::String&& value) { SetLifeCycle(std::move(value)); return *this;}
80 inline ApplicationInfo& WithLifeCycle(const char* value) { SetLifeCycle(value); return *this;}
82
84
88 inline const Aws::String& GetOpsItemSNSTopicArn() const{ return m_opsItemSNSTopicArn; }
89 inline bool OpsItemSNSTopicArnHasBeenSet() const { return m_opsItemSNSTopicArnHasBeenSet; }
90 inline void SetOpsItemSNSTopicArn(const Aws::String& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = value; }
91 inline void SetOpsItemSNSTopicArn(Aws::String&& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = std::move(value); }
92 inline void SetOpsItemSNSTopicArn(const char* value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn.assign(value); }
93 inline ApplicationInfo& WithOpsItemSNSTopicArn(const Aws::String& value) { SetOpsItemSNSTopicArn(value); return *this;}
94 inline ApplicationInfo& WithOpsItemSNSTopicArn(Aws::String&& value) { SetOpsItemSNSTopicArn(std::move(value)); return *this;}
95 inline ApplicationInfo& WithOpsItemSNSTopicArn(const char* value) { SetOpsItemSNSTopicArn(value); return *this;}
97
99
103 inline const Aws::String& GetSNSNotificationArn() const{ return m_sNSNotificationArn; }
104 inline bool SNSNotificationArnHasBeenSet() const { return m_sNSNotificationArnHasBeenSet; }
105 inline void SetSNSNotificationArn(const Aws::String& value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn = value; }
106 inline void SetSNSNotificationArn(Aws::String&& value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn = std::move(value); }
107 inline void SetSNSNotificationArn(const char* value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn.assign(value); }
108 inline ApplicationInfo& WithSNSNotificationArn(const Aws::String& value) { SetSNSNotificationArn(value); return *this;}
109 inline ApplicationInfo& WithSNSNotificationArn(Aws::String&& value) { SetSNSNotificationArn(std::move(value)); return *this;}
110 inline ApplicationInfo& WithSNSNotificationArn(const char* value) { SetSNSNotificationArn(value); return *this;}
112
114
118 inline bool GetOpsCenterEnabled() const{ return m_opsCenterEnabled; }
119 inline bool OpsCenterEnabledHasBeenSet() const { return m_opsCenterEnabledHasBeenSet; }
120 inline void SetOpsCenterEnabled(bool value) { m_opsCenterEnabledHasBeenSet = true; m_opsCenterEnabled = value; }
121 inline ApplicationInfo& WithOpsCenterEnabled(bool value) { SetOpsCenterEnabled(value); return *this;}
123
125
130 inline bool GetCWEMonitorEnabled() const{ return m_cWEMonitorEnabled; }
131 inline bool CWEMonitorEnabledHasBeenSet() const { return m_cWEMonitorEnabledHasBeenSet; }
132 inline void SetCWEMonitorEnabled(bool value) { m_cWEMonitorEnabledHasBeenSet = true; m_cWEMonitorEnabled = value; }
133 inline ApplicationInfo& WithCWEMonitorEnabled(bool value) { SetCWEMonitorEnabled(value); return *this;}
135
137
143 inline const Aws::String& GetRemarks() const{ return m_remarks; }
144 inline bool RemarksHasBeenSet() const { return m_remarksHasBeenSet; }
145 inline void SetRemarks(const Aws::String& value) { m_remarksHasBeenSet = true; m_remarks = value; }
146 inline void SetRemarks(Aws::String&& value) { m_remarksHasBeenSet = true; m_remarks = std::move(value); }
147 inline void SetRemarks(const char* value) { m_remarksHasBeenSet = true; m_remarks.assign(value); }
148 inline ApplicationInfo& WithRemarks(const Aws::String& value) { SetRemarks(value); return *this;}
149 inline ApplicationInfo& WithRemarks(Aws::String&& value) { SetRemarks(std::move(value)); return *this;}
150 inline ApplicationInfo& WithRemarks(const char* value) { SetRemarks(value); return *this;}
152
154
157 inline bool GetAutoConfigEnabled() const{ return m_autoConfigEnabled; }
158 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
159 inline void SetAutoConfigEnabled(bool value) { m_autoConfigEnabledHasBeenSet = true; m_autoConfigEnabled = value; }
160 inline ApplicationInfo& WithAutoConfigEnabled(bool value) { SetAutoConfigEnabled(value); return *this;}
162
164
167 inline const DiscoveryType& GetDiscoveryType() const{ return m_discoveryType; }
168 inline bool DiscoveryTypeHasBeenSet() const { return m_discoveryTypeHasBeenSet; }
169 inline void SetDiscoveryType(const DiscoveryType& value) { m_discoveryTypeHasBeenSet = true; m_discoveryType = value; }
170 inline void SetDiscoveryType(DiscoveryType&& value) { m_discoveryTypeHasBeenSet = true; m_discoveryType = std::move(value); }
171 inline ApplicationInfo& WithDiscoveryType(const DiscoveryType& value) { SetDiscoveryType(value); return *this;}
172 inline ApplicationInfo& WithDiscoveryType(DiscoveryType&& value) { SetDiscoveryType(std::move(value)); return *this;}
174
176
180 inline bool GetAttachMissingPermission() const{ return m_attachMissingPermission; }
181 inline bool AttachMissingPermissionHasBeenSet() const { return m_attachMissingPermissionHasBeenSet; }
182 inline void SetAttachMissingPermission(bool value) { m_attachMissingPermissionHasBeenSet = true; m_attachMissingPermission = value; }
183 inline ApplicationInfo& WithAttachMissingPermission(bool value) { SetAttachMissingPermission(value); return *this;}
185 private:
186
187 Aws::String m_accountId;
188 bool m_accountIdHasBeenSet = false;
189
190 Aws::String m_resourceGroupName;
191 bool m_resourceGroupNameHasBeenSet = false;
192
193 Aws::String m_lifeCycle;
194 bool m_lifeCycleHasBeenSet = false;
195
196 Aws::String m_opsItemSNSTopicArn;
197 bool m_opsItemSNSTopicArnHasBeenSet = false;
198
199 Aws::String m_sNSNotificationArn;
200 bool m_sNSNotificationArnHasBeenSet = false;
201
202 bool m_opsCenterEnabled;
203 bool m_opsCenterEnabledHasBeenSet = false;
204
205 bool m_cWEMonitorEnabled;
206 bool m_cWEMonitorEnabledHasBeenSet = false;
207
208 Aws::String m_remarks;
209 bool m_remarksHasBeenSet = false;
210
211 bool m_autoConfigEnabled;
212 bool m_autoConfigEnabledHasBeenSet = false;
213
214 DiscoveryType m_discoveryType;
215 bool m_discoveryTypeHasBeenSet = false;
216
217 bool m_attachMissingPermission;
218 bool m_attachMissingPermissionHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace ApplicationInsights
223} // namespace Aws
ApplicationInfo & WithResourceGroupName(const char *value)
ApplicationInfo & WithLifeCycle(Aws::String &&value)
AWS_APPLICATIONINSIGHTS_API ApplicationInfo()
void SetOpsItemSNSTopicArn(const Aws::String &value)
ApplicationInfo & WithRemarks(const Aws::String &value)
ApplicationInfo & WithDiscoveryType(DiscoveryType &&value)
ApplicationInfo & WithOpsItemSNSTopicArn(const Aws::String &value)
ApplicationInfo & WithResourceGroupName(Aws::String &&value)
ApplicationInfo & WithAutoConfigEnabled(bool value)
ApplicationInfo & WithRemarks(Aws::String &&value)
ApplicationInfo & WithDiscoveryType(const DiscoveryType &value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONINSIGHTS_API ApplicationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationInfo & WithAccountId(Aws::String &&value)
ApplicationInfo & WithCWEMonitorEnabled(bool value)
AWS_APPLICATIONINSIGHTS_API ApplicationInfo(Aws::Utils::Json::JsonView jsonValue)
ApplicationInfo & WithAccountId(const char *value)
ApplicationInfo & WithOpsCenterEnabled(bool value)
ApplicationInfo & WithSNSNotificationArn(const Aws::String &value)
ApplicationInfo & WithResourceGroupName(const Aws::String &value)
ApplicationInfo & WithAccountId(const Aws::String &value)
void SetDiscoveryType(const DiscoveryType &value)
ApplicationInfo & WithSNSNotificationArn(const char *value)
ApplicationInfo & WithAttachMissingPermission(bool value)
ApplicationInfo & WithRemarks(const char *value)
ApplicationInfo & WithLifeCycle(const char *value)
ApplicationInfo & WithLifeCycle(const Aws::String &value)
ApplicationInfo & WithSNSNotificationArn(Aws::String &&value)
void SetResourceGroupName(const Aws::String &value)
void SetSNSNotificationArn(const Aws::String &value)
ApplicationInfo & WithOpsItemSNSTopicArn(const char *value)
ApplicationInfo & WithOpsItemSNSTopicArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue