AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ResourceGroupNameT = Aws::String>
44 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
45 template<typename ResourceGroupNameT = Aws::String>
46 UpdateApplicationRequest& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
48
50
54 inline bool GetOpsCenterEnabled() const { return m_opsCenterEnabled; }
55 inline bool OpsCenterEnabledHasBeenSet() const { return m_opsCenterEnabledHasBeenSet; }
56 inline void SetOpsCenterEnabled(bool value) { m_opsCenterEnabledHasBeenSet = true; m_opsCenterEnabled = value; }
57 inline UpdateApplicationRequest& WithOpsCenterEnabled(bool value) { SetOpsCenterEnabled(value); return *this;}
59
61
66 inline bool GetCWEMonitorEnabled() const { return m_cWEMonitorEnabled; }
67 inline bool CWEMonitorEnabledHasBeenSet() const { return m_cWEMonitorEnabledHasBeenSet; }
68 inline void SetCWEMonitorEnabled(bool value) { m_cWEMonitorEnabledHasBeenSet = true; m_cWEMonitorEnabled = value; }
69 inline UpdateApplicationRequest& WithCWEMonitorEnabled(bool value) { SetCWEMonitorEnabled(value); return *this;}
71
73
78 inline const Aws::String& GetOpsItemSNSTopicArn() const { return m_opsItemSNSTopicArn; }
79 inline bool OpsItemSNSTopicArnHasBeenSet() const { return m_opsItemSNSTopicArnHasBeenSet; }
80 template<typename OpsItemSNSTopicArnT = Aws::String>
81 void SetOpsItemSNSTopicArn(OpsItemSNSTopicArnT&& value) { m_opsItemSNSTopicArnHasBeenSet = true; m_opsItemSNSTopicArn = std::forward<OpsItemSNSTopicArnT>(value); }
82 template<typename OpsItemSNSTopicArnT = Aws::String>
83 UpdateApplicationRequest& WithOpsItemSNSTopicArn(OpsItemSNSTopicArnT&& value) { SetOpsItemSNSTopicArn(std::forward<OpsItemSNSTopicArnT>(value)); return *this;}
85
87
91 inline const Aws::String& GetSNSNotificationArn() const { return m_sNSNotificationArn; }
92 inline bool SNSNotificationArnHasBeenSet() const { return m_sNSNotificationArnHasBeenSet; }
93 template<typename SNSNotificationArnT = Aws::String>
94 void SetSNSNotificationArn(SNSNotificationArnT&& value) { m_sNSNotificationArnHasBeenSet = true; m_sNSNotificationArn = std::forward<SNSNotificationArnT>(value); }
95 template<typename SNSNotificationArnT = Aws::String>
96 UpdateApplicationRequest& WithSNSNotificationArn(SNSNotificationArnT&& value) { SetSNSNotificationArn(std::forward<SNSNotificationArnT>(value)); return *this;}
98
100
104 inline bool GetRemoveSNSTopic() const { return m_removeSNSTopic; }
105 inline bool RemoveSNSTopicHasBeenSet() const { return m_removeSNSTopicHasBeenSet; }
106 inline void SetRemoveSNSTopic(bool value) { m_removeSNSTopicHasBeenSet = true; m_removeSNSTopic = value; }
107 inline UpdateApplicationRequest& WithRemoveSNSTopic(bool value) { SetRemoveSNSTopic(value); return *this;}
109
111
114 inline bool GetAutoConfigEnabled() const { return m_autoConfigEnabled; }
115 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
116 inline void SetAutoConfigEnabled(bool value) { m_autoConfigEnabledHasBeenSet = true; m_autoConfigEnabled = value; }
117 inline UpdateApplicationRequest& WithAutoConfigEnabled(bool value) { SetAutoConfigEnabled(value); return *this;}
119
121
125 inline bool GetAttachMissingPermission() const { return m_attachMissingPermission; }
126 inline bool AttachMissingPermissionHasBeenSet() const { return m_attachMissingPermissionHasBeenSet; }
127 inline void SetAttachMissingPermission(bool value) { m_attachMissingPermissionHasBeenSet = true; m_attachMissingPermission = value; }
130 private:
131
132 Aws::String m_resourceGroupName;
133 bool m_resourceGroupNameHasBeenSet = false;
134
135 bool m_opsCenterEnabled{false};
136 bool m_opsCenterEnabledHasBeenSet = false;
137
138 bool m_cWEMonitorEnabled{false};
139 bool m_cWEMonitorEnabledHasBeenSet = false;
140
141 Aws::String m_opsItemSNSTopicArn;
142 bool m_opsItemSNSTopicArnHasBeenSet = false;
143
144 Aws::String m_sNSNotificationArn;
145 bool m_sNSNotificationArnHasBeenSet = false;
146
147 bool m_removeSNSTopic{false};
148 bool m_removeSNSTopicHasBeenSet = false;
149
150 bool m_autoConfigEnabled{false};
151 bool m_autoConfigEnabledHasBeenSet = false;
152
153 bool m_attachMissingPermission{false};
154 bool m_attachMissingPermissionHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace ApplicationInsights
159} // namespace Aws
UpdateApplicationRequest & WithOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
AWS_APPLICATIONINSIGHTS_API UpdateApplicationRequest()=default
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
UpdateApplicationRequest & WithResourceGroupName(ResourceGroupNameT &&value)
UpdateApplicationRequest & WithSNSNotificationArn(SNSNotificationArnT &&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