AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccountIdT = Aws::String>
48 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
49 template<typename AccountIdT = Aws::String>
50 ApplicationInfo& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
58 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
59 template<typename ResourceGroupNameT = Aws::String>
60 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
61 template<typename ResourceGroupNameT = Aws::String>
62 ApplicationInfo& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetLifeCycle() const { return m_lifeCycle; }
70 inline bool LifeCycleHasBeenSet() const { return m_lifeCycleHasBeenSet; }
71 template<typename LifeCycleT = Aws::String>
72 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = std::forward<LifeCycleT>(value); }
73 template<typename LifeCycleT = Aws::String>
74 ApplicationInfo& WithLifeCycle(LifeCycleT&& value) { SetLifeCycle(std::forward<LifeCycleT>(value)); return *this;}
76
78
82 inline const Aws::String& GetOpsItemSNSTopicArn() const { return m_opsItemSNSTopicArn; }
83 inline bool OpsItemSNSTopicArnHasBeenSet() const { return m_opsItemSNSTopicArnHasBeenSet; }
84 template<typename OpsItemSNSTopicArnT = Aws::String>
85 void SetOpsItemSNSTopicArn(OpsItemSNSTopicArnT&& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = std::forward<OpsItemSNSTopicArnT>(value); }
86 template<typename OpsItemSNSTopicArnT = Aws::String>
87 ApplicationInfo& WithOpsItemSNSTopicArn(OpsItemSNSTopicArnT&& value) { SetOpsItemSNSTopicArn(std::forward<OpsItemSNSTopicArnT>(value)); return *this;}
89
91
95 inline const Aws::String& GetSNSNotificationArn() const { return m_sNSNotificationArn; }
96 inline bool SNSNotificationArnHasBeenSet() const { return m_sNSNotificationArnHasBeenSet; }
97 template<typename SNSNotificationArnT = Aws::String>
98 void SetSNSNotificationArn(SNSNotificationArnT&& value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn = std::forward<SNSNotificationArnT>(value); }
99 template<typename SNSNotificationArnT = Aws::String>
100 ApplicationInfo& WithSNSNotificationArn(SNSNotificationArnT&& value) { SetSNSNotificationArn(std::forward<SNSNotificationArnT>(value)); return *this;}
102
104
108 inline bool GetOpsCenterEnabled() const { return m_opsCenterEnabled; }
109 inline bool OpsCenterEnabledHasBeenSet() const { return m_opsCenterEnabledHasBeenSet; }
110 inline void SetOpsCenterEnabled(bool value) { m_opsCenterEnabledHasBeenSet = true; m_opsCenterEnabled = value; }
111 inline ApplicationInfo& WithOpsCenterEnabled(bool value) { SetOpsCenterEnabled(value); return *this;}
113
115
120 inline bool GetCWEMonitorEnabled() const { return m_cWEMonitorEnabled; }
121 inline bool CWEMonitorEnabledHasBeenSet() const { return m_cWEMonitorEnabledHasBeenSet; }
122 inline void SetCWEMonitorEnabled(bool value) { m_cWEMonitorEnabledHasBeenSet = true; m_cWEMonitorEnabled = value; }
123 inline ApplicationInfo& WithCWEMonitorEnabled(bool value) { SetCWEMonitorEnabled(value); return *this;}
125
127
133 inline const Aws::String& GetRemarks() const { return m_remarks; }
134 inline bool RemarksHasBeenSet() const { return m_remarksHasBeenSet; }
135 template<typename RemarksT = Aws::String>
136 void SetRemarks(RemarksT&& value) { m_remarksHasBeenSet = true; m_remarks = std::forward<RemarksT>(value); }
137 template<typename RemarksT = Aws::String>
138 ApplicationInfo& WithRemarks(RemarksT&& value) { SetRemarks(std::forward<RemarksT>(value)); return *this;}
140
142
145 inline bool GetAutoConfigEnabled() const { return m_autoConfigEnabled; }
146 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
147 inline void SetAutoConfigEnabled(bool value) { m_autoConfigEnabledHasBeenSet = true; m_autoConfigEnabled = value; }
148 inline ApplicationInfo& WithAutoConfigEnabled(bool value) { SetAutoConfigEnabled(value); return *this;}
150
152
155 inline DiscoveryType GetDiscoveryType() const { return m_discoveryType; }
156 inline bool DiscoveryTypeHasBeenSet() const { return m_discoveryTypeHasBeenSet; }
157 inline void SetDiscoveryType(DiscoveryType value) { m_discoveryTypeHasBeenSet = true; m_discoveryType = value; }
158 inline ApplicationInfo& WithDiscoveryType(DiscoveryType value) { SetDiscoveryType(value); return *this;}
160
162
166 inline bool GetAttachMissingPermission() const { return m_attachMissingPermission; }
167 inline bool AttachMissingPermissionHasBeenSet() const { return m_attachMissingPermissionHasBeenSet; }
168 inline void SetAttachMissingPermission(bool value) { m_attachMissingPermissionHasBeenSet = true; m_attachMissingPermission = value; }
169 inline ApplicationInfo& WithAttachMissingPermission(bool value) { SetAttachMissingPermission(value); return *this;}
171 private:
172
173 Aws::String m_accountId;
174 bool m_accountIdHasBeenSet = false;
175
176 Aws::String m_resourceGroupName;
177 bool m_resourceGroupNameHasBeenSet = false;
178
179 Aws::String m_lifeCycle;
180 bool m_lifeCycleHasBeenSet = false;
181
182 Aws::String m_opsItemSNSTopicArn;
183 bool m_opsItemSNSTopicArnHasBeenSet = false;
184
185 Aws::String m_sNSNotificationArn;
186 bool m_sNSNotificationArnHasBeenSet = false;
187
188 bool m_opsCenterEnabled{false};
189 bool m_opsCenterEnabledHasBeenSet = false;
190
191 bool m_cWEMonitorEnabled{false};
192 bool m_cWEMonitorEnabledHasBeenSet = false;
193
194 Aws::String m_remarks;
195 bool m_remarksHasBeenSet = false;
196
197 bool m_autoConfigEnabled{false};
198 bool m_autoConfigEnabledHasBeenSet = false;
199
200 DiscoveryType m_discoveryType{DiscoveryType::NOT_SET};
201 bool m_discoveryTypeHasBeenSet = false;
202
203 bool m_attachMissingPermission{false};
204 bool m_attachMissingPermissionHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace ApplicationInsights
209} // namespace Aws
ApplicationInfo & WithRemarks(RemarksT &&value)
ApplicationInfo & WithAutoConfigEnabled(bool value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONINSIGHTS_API ApplicationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationInfo & WithCWEMonitorEnabled(bool value)
void SetSNSNotificationArn(SNSNotificationArnT &&value)
AWS_APPLICATIONINSIGHTS_API ApplicationInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONINSIGHTS_API ApplicationInfo()=default
ApplicationInfo & WithOpsCenterEnabled(bool value)
void SetResourceGroupName(ResourceGroupNameT &&value)
void SetOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
ApplicationInfo & WithResourceGroupName(ResourceGroupNameT &&value)
ApplicationInfo & WithSNSNotificationArn(SNSNotificationArnT &&value)
ApplicationInfo & WithLifeCycle(LifeCycleT &&value)
ApplicationInfo & WithAccountId(AccountIdT &&value)
ApplicationInfo & WithAttachMissingPermission(bool value)
ApplicationInfo & WithDiscoveryType(DiscoveryType value)
ApplicationInfo & WithOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue