AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateComponentConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ApplicationInsights
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateComponentConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
42 
46  inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
47 
51  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
52 
56  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
57 
61  inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
62 
66  inline UpdateComponentConfigurationRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
67 
71  inline UpdateComponentConfigurationRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
72 
76  inline UpdateComponentConfigurationRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
77 
78 
82  inline const Aws::String& GetComponentName() const{ return m_componentName; }
83 
87  inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
88 
92  inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
93 
97  inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
98 
102  inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
103 
107  inline UpdateComponentConfigurationRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
108 
112  inline UpdateComponentConfigurationRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
113 
117  inline UpdateComponentConfigurationRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
118 
119 
123  inline bool GetMonitor() const{ return m_monitor; }
124 
128  inline bool MonitorHasBeenSet() const { return m_monitorHasBeenSet; }
129 
133  inline void SetMonitor(bool value) { m_monitorHasBeenSet = true; m_monitor = value; }
134 
138  inline UpdateComponentConfigurationRequest& WithMonitor(bool value) { SetMonitor(value); return *this;}
139 
140 
147  inline const Tier& GetTier() const{ return m_tier; }
148 
155  inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
156 
163  inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; }
164 
171  inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
172 
179  inline UpdateComponentConfigurationRequest& WithTier(const Tier& value) { SetTier(value); return *this;}
180 
187  inline UpdateComponentConfigurationRequest& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;}
188 
189 
201  inline const Aws::String& GetComponentConfiguration() const{ return m_componentConfiguration; }
202 
214  inline bool ComponentConfigurationHasBeenSet() const { return m_componentConfigurationHasBeenSet; }
215 
227  inline void SetComponentConfiguration(const Aws::String& value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration = value; }
228 
240  inline void SetComponentConfiguration(Aws::String&& value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration = std::move(value); }
241 
253  inline void SetComponentConfiguration(const char* value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration.assign(value); }
254 
266  inline UpdateComponentConfigurationRequest& WithComponentConfiguration(const Aws::String& value) { SetComponentConfiguration(value); return *this;}
267 
279  inline UpdateComponentConfigurationRequest& WithComponentConfiguration(Aws::String&& value) { SetComponentConfiguration(std::move(value)); return *this;}
280 
292  inline UpdateComponentConfigurationRequest& WithComponentConfiguration(const char* value) { SetComponentConfiguration(value); return *this;}
293 
294  private:
295 
296  Aws::String m_resourceGroupName;
297  bool m_resourceGroupNameHasBeenSet;
298 
299  Aws::String m_componentName;
300  bool m_componentNameHasBeenSet;
301 
302  bool m_monitor;
303  bool m_monitorHasBeenSet;
304 
305  Tier m_tier;
306  bool m_tierHasBeenSet;
307 
308  Aws::String m_componentConfiguration;
309  bool m_componentConfigurationHasBeenSet;
310  };
311 
312 } // namespace Model
313 } // namespace ApplicationInsights
314 } // namespace Aws
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithResourceGroupName
UpdateComponentConfigurationRequest & WithResourceGroupName(const Aws::String &value)
Definition: UpdateComponentConfigurationRequest.h:66
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::TierHasBeenSet
bool TierHasBeenSet() const
Definition: UpdateComponentConfigurationRequest.h:155
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithTier
UpdateComponentConfigurationRequest & WithTier(const Tier &value)
Definition: UpdateComponentConfigurationRequest.h:179
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithResourceGroupName
UpdateComponentConfigurationRequest & WithResourceGroupName(const char *value)
Definition: UpdateComponentConfigurationRequest.h:76
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetMonitor
void SetMonitor(bool value)
Definition: UpdateComponentConfigurationRequest.h:133
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetTier
void SetTier(const Tier &value)
Definition: UpdateComponentConfigurationRequest.h:163
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithComponentName
UpdateComponentConfigurationRequest & WithComponentName(const Aws::String &value)
Definition: UpdateComponentConfigurationRequest.h:107
Aws::ApplicationInsights::Model::Tier
Tier
Definition: Tier.h:17
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateComponentConfigurationRequest.h:31
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithComponentConfiguration
UpdateComponentConfigurationRequest & WithComponentConfiguration(const Aws::String &value)
Definition: UpdateComponentConfigurationRequest.h:266
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: UpdateComponentConfigurationRequest.h:56
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetComponentName
void SetComponentName(const char *value)
Definition: UpdateComponentConfigurationRequest.h:102
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetMonitor
bool GetMonitor() const
Definition: UpdateComponentConfigurationRequest.h:123
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest
Definition: UpdateComponentConfigurationRequest.h:23
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::MonitorHasBeenSet
bool MonitorHasBeenSet() const
Definition: UpdateComponentConfigurationRequest.h:128
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetComponentConfiguration
const Aws::String & GetComponentConfiguration() const
Definition: UpdateComponentConfigurationRequest.h:201
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetComponentConfiguration
void SetComponentConfiguration(Aws::String &&value)
Definition: UpdateComponentConfigurationRequest.h:240
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithResourceGroupName
UpdateComponentConfigurationRequest & WithResourceGroupName(Aws::String &&value)
Definition: UpdateComponentConfigurationRequest.h:71
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: UpdateComponentConfigurationRequest.h:46
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetComponentConfiguration
void SetComponentConfiguration(const char *value)
Definition: UpdateComponentConfigurationRequest.h:253
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetComponentName
const Aws::String & GetComponentName() const
Definition: UpdateComponentConfigurationRequest.h:82
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithTier
UpdateComponentConfigurationRequest & WithTier(Tier &&value)
Definition: UpdateComponentConfigurationRequest.h:187
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithComponentName
UpdateComponentConfigurationRequest & WithComponentName(const char *value)
Definition: UpdateComponentConfigurationRequest.h:117
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::UpdateComponentConfigurationRequest
UpdateComponentConfigurationRequest()
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetComponentConfiguration
void SetComponentConfiguration(const Aws::String &value)
Definition: UpdateComponentConfigurationRequest.h:227
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetComponentName
void SetComponentName(const Aws::String &value)
Definition: UpdateComponentConfigurationRequest.h:92
AWSString.h
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithMonitor
UpdateComponentConfigurationRequest & WithMonitor(bool value)
Definition: UpdateComponentConfigurationRequest.h:138
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: UpdateComponentConfigurationRequest.h:61
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::ComponentNameHasBeenSet
bool ComponentNameHasBeenSet() const
Definition: UpdateComponentConfigurationRequest.h:87
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetTier
const Tier & GetTier() const
Definition: UpdateComponentConfigurationRequest.h:147
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithComponentConfiguration
UpdateComponentConfigurationRequest & WithComponentConfiguration(Aws::String &&value)
Definition: UpdateComponentConfigurationRequest.h:279
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetTier
void SetTier(Tier &&value)
Definition: UpdateComponentConfigurationRequest.h:171
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: UpdateComponentConfigurationRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithComponentName
UpdateComponentConfigurationRequest & WithComponentName(Aws::String &&value)
Definition: UpdateComponentConfigurationRequest.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::ComponentConfigurationHasBeenSet
bool ComponentConfigurationHasBeenSet() const
Definition: UpdateComponentConfigurationRequest.h:214
Tier.h
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetComponentName
void SetComponentName(Aws::String &&value)
Definition: UpdateComponentConfigurationRequest.h:97
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: UpdateComponentConfigurationRequest.h:51
Aws::ApplicationInsights::Model::UpdateComponentConfigurationRequest::WithComponentConfiguration
UpdateComponentConfigurationRequest & WithComponentConfiguration(const char *value)
Definition: UpdateComponentConfigurationRequest.h:292