AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ApplicationInsights
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
41 
45  inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
46 
50  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
51 
55  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
56 
60  inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
61 
65  inline UpdateApplicationRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
66 
70  inline UpdateApplicationRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
71 
75  inline UpdateApplicationRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
76 
77 
82  inline bool GetOpsCenterEnabled() const{ return m_opsCenterEnabled; }
83 
88  inline bool OpsCenterEnabledHasBeenSet() const { return m_opsCenterEnabledHasBeenSet; }
89 
94  inline void SetOpsCenterEnabled(bool value) { m_opsCenterEnabledHasBeenSet = true; m_opsCenterEnabled = value; }
95 
100  inline UpdateApplicationRequest& WithOpsCenterEnabled(bool value) { SetOpsCenterEnabled(value); return *this;}
101 
102 
108  inline bool GetCWEMonitorEnabled() const{ return m_cWEMonitorEnabled; }
109 
115  inline bool CWEMonitorEnabledHasBeenSet() const { return m_cWEMonitorEnabledHasBeenSet; }
116 
122  inline void SetCWEMonitorEnabled(bool value) { m_cWEMonitorEnabledHasBeenSet = true; m_cWEMonitorEnabled = value; }
123 
129  inline UpdateApplicationRequest& WithCWEMonitorEnabled(bool value) { SetCWEMonitorEnabled(value); return *this;}
130 
131 
137  inline const Aws::String& GetOpsItemSNSTopicArn() const{ return m_opsItemSNSTopicArn; }
138 
144  inline bool OpsItemSNSTopicArnHasBeenSet() const { return m_opsItemSNSTopicArnHasBeenSet; }
145 
151  inline void SetOpsItemSNSTopicArn(const Aws::String& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = value; }
152 
158  inline void SetOpsItemSNSTopicArn(Aws::String&& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = std::move(value); }
159 
165  inline void SetOpsItemSNSTopicArn(const char* value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn.assign(value); }
166 
172  inline UpdateApplicationRequest& WithOpsItemSNSTopicArn(const Aws::String& value) { SetOpsItemSNSTopicArn(value); return *this;}
173 
179  inline UpdateApplicationRequest& WithOpsItemSNSTopicArn(Aws::String&& value) { SetOpsItemSNSTopicArn(std::move(value)); return *this;}
180 
186  inline UpdateApplicationRequest& WithOpsItemSNSTopicArn(const char* value) { SetOpsItemSNSTopicArn(value); return *this;}
187 
188 
193  inline bool GetRemoveSNSTopic() const{ return m_removeSNSTopic; }
194 
199  inline bool RemoveSNSTopicHasBeenSet() const { return m_removeSNSTopicHasBeenSet; }
200 
205  inline void SetRemoveSNSTopic(bool value) { m_removeSNSTopicHasBeenSet = true; m_removeSNSTopic = value; }
206 
211  inline UpdateApplicationRequest& WithRemoveSNSTopic(bool value) { SetRemoveSNSTopic(value); return *this;}
212 
213  private:
214 
215  Aws::String m_resourceGroupName;
216  bool m_resourceGroupNameHasBeenSet;
217 
218  bool m_opsCenterEnabled;
219  bool m_opsCenterEnabledHasBeenSet;
220 
221  bool m_cWEMonitorEnabled;
222  bool m_cWEMonitorEnabledHasBeenSet;
223 
224  Aws::String m_opsItemSNSTopicArn;
225  bool m_opsItemSNSTopicArnHasBeenSet;
226 
227  bool m_removeSNSTopic;
228  bool m_removeSNSTopicHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace ApplicationInsights
233 } // namespace Aws
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithResourceGroupName
UpdateApplicationRequest & WithResourceGroupName(const char *value)
Definition: UpdateApplicationRequest.h:75
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithResourceGroupName
UpdateApplicationRequest & WithResourceGroupName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:65
Aws::ApplicationInsights::Model::UpdateApplicationRequest::OpsCenterEnabledHasBeenSet
bool OpsCenterEnabledHasBeenSet() const
Definition: UpdateApplicationRequest.h:88
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithOpsItemSNSTopicArn
UpdateApplicationRequest & WithOpsItemSNSTopicArn(const char *value)
Definition: UpdateApplicationRequest.h:186
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetCWEMonitorEnabled
void SetCWEMonitorEnabled(bool value)
Definition: UpdateApplicationRequest.h:122
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithCWEMonitorEnabled
UpdateApplicationRequest & WithCWEMonitorEnabled(bool value)
Definition: UpdateApplicationRequest.h:129
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:55
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateApplicationRequest.h:30
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetOpsCenterEnabled
void SetOpsCenterEnabled(bool value)
Definition: UpdateApplicationRequest.h:94
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetOpsCenterEnabled
bool GetOpsCenterEnabled() const
Definition: UpdateApplicationRequest.h:82
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::UpdateApplicationRequest::OpsItemSNSTopicArnHasBeenSet
bool OpsItemSNSTopicArnHasBeenSet() const
Definition: UpdateApplicationRequest.h:144
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::UpdateApplicationRequest::CWEMonitorEnabledHasBeenSet
bool CWEMonitorEnabledHasBeenSet() const
Definition: UpdateApplicationRequest.h:115
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetRemoveSNSTopic
void SetRemoveSNSTopic(bool value)
Definition: UpdateApplicationRequest.h:205
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetOpsItemSNSTopicArn
void SetOpsItemSNSTopicArn(const char *value)
Definition: UpdateApplicationRequest.h:165
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithRemoveSNSTopic
UpdateApplicationRequest & WithRemoveSNSTopic(bool value)
Definition: UpdateApplicationRequest.h:211
AWSString.h
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::UpdateApplicationRequest
Definition: UpdateApplicationRequest.h:22
Aws::ApplicationInsights::Model::UpdateApplicationRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: UpdateApplicationRequest.h:45
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetOpsItemSNSTopicArn
void SetOpsItemSNSTopicArn(Aws::String &&value)
Definition: UpdateApplicationRequest.h:158
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: UpdateApplicationRequest.h:40
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetCWEMonitorEnabled
bool GetCWEMonitorEnabled() const
Definition: UpdateApplicationRequest.h:108
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:50
Aws::ApplicationInsights::Model::UpdateApplicationRequest::UpdateApplicationRequest
UpdateApplicationRequest()
Aws::ApplicationInsights::Model::UpdateApplicationRequest::RemoveSNSTopicHasBeenSet
bool RemoveSNSTopicHasBeenSet() const
Definition: UpdateApplicationRequest.h:199
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetOpsItemSNSTopicArn
void SetOpsItemSNSTopicArn(const Aws::String &value)
Definition: UpdateApplicationRequest.h:151
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithResourceGroupName
UpdateApplicationRequest & WithResourceGroupName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::UpdateApplicationRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: UpdateApplicationRequest.h:60
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithOpsItemSNSTopicArn
UpdateApplicationRequest & WithOpsItemSNSTopicArn(Aws::String &&value)
Definition: UpdateApplicationRequest.h:179
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetRemoveSNSTopic
bool GetRemoveSNSTopic() const
Definition: UpdateApplicationRequest.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithOpsItemSNSTopicArn
UpdateApplicationRequest & WithOpsItemSNSTopicArn(const Aws::String &value)
Definition: UpdateApplicationRequest.h:172
Aws::ApplicationInsights::Model::UpdateApplicationRequest::WithOpsCenterEnabled
UpdateApplicationRequest & WithOpsCenterEnabled(bool value)
Definition: UpdateApplicationRequest.h:100
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::UpdateApplicationRequest::GetOpsItemSNSTopicArn
const Aws::String & GetOpsItemSNSTopicArn() const
Definition: UpdateApplicationRequest.h:137