AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationRequest.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/ApplicationInsightsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ApplicationInsights
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPLICATIONINSIGHTS_API UpdateApplicationRequest();
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_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
33
34 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
42 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
43 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
44 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
45 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
47 inline UpdateApplicationRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
48 inline UpdateApplicationRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
50
52
56 inline bool GetOpsCenterEnabled() const{ return m_opsCenterEnabled; }
57 inline bool OpsCenterEnabledHasBeenSet() const { return m_opsCenterEnabledHasBeenSet; }
58 inline void SetOpsCenterEnabled(bool value) { m_opsCenterEnabledHasBeenSet = true; m_opsCenterEnabled = value; }
59 inline UpdateApplicationRequest& WithOpsCenterEnabled(bool value) { SetOpsCenterEnabled(value); return *this;}
61
63
68 inline bool GetCWEMonitorEnabled() const{ return m_cWEMonitorEnabled; }
69 inline bool CWEMonitorEnabledHasBeenSet() const { return m_cWEMonitorEnabledHasBeenSet; }
70 inline void SetCWEMonitorEnabled(bool value) { m_cWEMonitorEnabledHasBeenSet = true; m_cWEMonitorEnabled = value; }
71 inline UpdateApplicationRequest& WithCWEMonitorEnabled(bool value) { SetCWEMonitorEnabled(value); return *this;}
73
75
80 inline const Aws::String& GetOpsItemSNSTopicArn() const{ return m_opsItemSNSTopicArn; }
81 inline bool OpsItemSNSTopicArnHasBeenSet() const { return m_opsItemSNSTopicArnHasBeenSet; }
82 inline void SetOpsItemSNSTopicArn(const Aws::String& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = value; }
83 inline void SetOpsItemSNSTopicArn(Aws::String&& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = std::move(value); }
84 inline void SetOpsItemSNSTopicArn(const char* value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn.assign(value); }
86 inline UpdateApplicationRequest& WithOpsItemSNSTopicArn(Aws::String&& value) { SetOpsItemSNSTopicArn(std::move(value)); return *this;}
87 inline UpdateApplicationRequest& WithOpsItemSNSTopicArn(const char* value) { SetOpsItemSNSTopicArn(value); return *this;}
89
91
95 inline const Aws::String& GetSNSNotificationArn() const{ return m_sNSNotificationArn; }
96 inline bool SNSNotificationArnHasBeenSet() const { return m_sNSNotificationArnHasBeenSet; }
97 inline void SetSNSNotificationArn(const Aws::String& value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn = value; }
98 inline void SetSNSNotificationArn(Aws::String&& value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn = std::move(value); }
99 inline void SetSNSNotificationArn(const char* value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn.assign(value); }
101 inline UpdateApplicationRequest& WithSNSNotificationArn(Aws::String&& value) { SetSNSNotificationArn(std::move(value)); return *this;}
102 inline UpdateApplicationRequest& WithSNSNotificationArn(const char* value) { SetSNSNotificationArn(value); return *this;}
104
106
110 inline bool GetRemoveSNSTopic() const{ return m_removeSNSTopic; }
111 inline bool RemoveSNSTopicHasBeenSet() const { return m_removeSNSTopicHasBeenSet; }
112 inline void SetRemoveSNSTopic(bool value) { m_removeSNSTopicHasBeenSet = true; m_removeSNSTopic = value; }
113 inline UpdateApplicationRequest& WithRemoveSNSTopic(bool value) { SetRemoveSNSTopic(value); return *this;}
115
117
120 inline bool GetAutoConfigEnabled() const{ return m_autoConfigEnabled; }
121 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
122 inline void SetAutoConfigEnabled(bool value) { m_autoConfigEnabledHasBeenSet = true; m_autoConfigEnabled = value; }
123 inline UpdateApplicationRequest& WithAutoConfigEnabled(bool value) { SetAutoConfigEnabled(value); return *this;}
125
127
131 inline bool GetAttachMissingPermission() const{ return m_attachMissingPermission; }
132 inline bool AttachMissingPermissionHasBeenSet() const { return m_attachMissingPermissionHasBeenSet; }
133 inline void SetAttachMissingPermission(bool value) { m_attachMissingPermissionHasBeenSet = true; m_attachMissingPermission = value; }
136 private:
137
138 Aws::String m_resourceGroupName;
139 bool m_resourceGroupNameHasBeenSet = false;
140
141 bool m_opsCenterEnabled;
142 bool m_opsCenterEnabledHasBeenSet = false;
143
144 bool m_cWEMonitorEnabled;
145 bool m_cWEMonitorEnabledHasBeenSet = false;
146
147 Aws::String m_opsItemSNSTopicArn;
148 bool m_opsItemSNSTopicArnHasBeenSet = false;
149
150 Aws::String m_sNSNotificationArn;
151 bool m_sNSNotificationArnHasBeenSet = false;
152
153 bool m_removeSNSTopic;
154 bool m_removeSNSTopicHasBeenSet = false;
155
156 bool m_autoConfigEnabled;
157 bool m_autoConfigEnabledHasBeenSet = false;
158
159 bool m_attachMissingPermission;
160 bool m_attachMissingPermissionHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace ApplicationInsights
165} // namespace Aws
UpdateApplicationRequest & WithResourceGroupName(const Aws::String &value)
UpdateApplicationRequest & WithSNSNotificationArn(const Aws::String &value)
UpdateApplicationRequest & WithSNSNotificationArn(const char *value)
UpdateApplicationRequest & WithResourceGroupName(const char *value)
UpdateApplicationRequest & WithOpsItemSNSTopicArn(const Aws::String &value)
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
UpdateApplicationRequest & WithResourceGroupName(Aws::String &&value)
UpdateApplicationRequest & WithSNSNotificationArn(Aws::String &&value)
UpdateApplicationRequest & WithOpsItemSNSTopicArn(Aws::String &&value)
UpdateApplicationRequest & WithOpsItemSNSTopicArn(const char *value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String