AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateComponentConfigurationRequest.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsightsRequest.h>
8#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
9#include <aws/application-insights/model/Tier.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ApplicationInsights {
16namespace Model {
17
21 public:
22 AWS_APPLICATIONINSIGHTS_API UpdateComponentConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateComponentConfiguration"; }
29
30 AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
31
32 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
39 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
40 template <typename ResourceGroupNameT = Aws::String>
41 void SetResourceGroupName(ResourceGroupNameT&& value) {
42 m_resourceGroupNameHasBeenSet = true;
43 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
44 }
45 template <typename ResourceGroupNameT = Aws::String>
47 SetResourceGroupName(std::forward<ResourceGroupNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetComponentName() const { return m_componentName; }
57 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
58 template <typename ComponentNameT = Aws::String>
59 void SetComponentName(ComponentNameT&& value) {
60 m_componentNameHasBeenSet = true;
61 m_componentName = std::forward<ComponentNameT>(value);
62 }
63 template <typename ComponentNameT = Aws::String>
65 SetComponentName(std::forward<ComponentNameT>(value));
66 return *this;
67 }
69
71
74 inline bool GetMonitor() const { return m_monitor; }
75 inline bool MonitorHasBeenSet() const { return m_monitorHasBeenSet; }
76 inline void SetMonitor(bool value) {
77 m_monitorHasBeenSet = true;
78 m_monitor = value;
79 }
81 SetMonitor(value);
82 return *this;
83 }
85
87
90 inline Tier GetTier() const { return m_tier; }
91 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
92 inline void SetTier(Tier value) {
93 m_tierHasBeenSet = true;
94 m_tier = value;
95 }
97 SetTier(value);
98 return *this;
99 }
101
103
114 inline const Aws::String& GetComponentConfiguration() const { return m_componentConfiguration; }
115 inline bool ComponentConfigurationHasBeenSet() const { return m_componentConfigurationHasBeenSet; }
116 template <typename ComponentConfigurationT = Aws::String>
117 void SetComponentConfiguration(ComponentConfigurationT&& value) {
118 m_componentConfigurationHasBeenSet = true;
119 m_componentConfiguration = std::forward<ComponentConfigurationT>(value);
120 }
121 template <typename ComponentConfigurationT = Aws::String>
123 SetComponentConfiguration(std::forward<ComponentConfigurationT>(value));
124 return *this;
125 }
127
129
133 inline bool GetAutoConfigEnabled() const { return m_autoConfigEnabled; }
134 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
135 inline void SetAutoConfigEnabled(bool value) {
136 m_autoConfigEnabledHasBeenSet = true;
137 m_autoConfigEnabled = value;
138 }
141 return *this;
142 }
144 private:
145 Aws::String m_resourceGroupName;
146
147 Aws::String m_componentName;
148
149 bool m_monitor{false};
150
151 Tier m_tier{Tier::NOT_SET};
152
153 Aws::String m_componentConfiguration;
154
155 bool m_autoConfigEnabled{false};
156 bool m_resourceGroupNameHasBeenSet = false;
157 bool m_componentNameHasBeenSet = false;
158 bool m_monitorHasBeenSet = false;
159 bool m_tierHasBeenSet = false;
160 bool m_componentConfigurationHasBeenSet = false;
161 bool m_autoConfigEnabledHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace ApplicationInsights
166} // namespace Aws
UpdateComponentConfigurationRequest & WithResourceGroupName(ResourceGroupNameT &&value)
UpdateComponentConfigurationRequest & WithComponentName(ComponentNameT &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
UpdateComponentConfigurationRequest & WithComponentConfiguration(ComponentConfigurationT &&value)
AWS_APPLICATIONINSIGHTS_API UpdateComponentConfigurationRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String