AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateComponentConfigurationRequest.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 <aws/application-insights/model/Tier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ApplicationInsights
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPLICATIONINSIGHTS_API UpdateComponentConfigurationRequest();
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_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
34
35 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
43 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
44 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
45 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
46 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
49 inline UpdateComponentConfigurationRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
51
53
56 inline const Aws::String& GetComponentName() const{ return m_componentName; }
57 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
58 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
59 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
60 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
62 inline UpdateComponentConfigurationRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
63 inline UpdateComponentConfigurationRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
65
67
70 inline bool GetMonitor() const{ return m_monitor; }
71 inline bool MonitorHasBeenSet() const { return m_monitorHasBeenSet; }
72 inline void SetMonitor(bool value) { m_monitorHasBeenSet = true; m_monitor = value; }
73 inline UpdateComponentConfigurationRequest& WithMonitor(bool value) { SetMonitor(value); return *this;}
75
77
80 inline const Tier& GetTier() const{ return m_tier; }
81 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
82 inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; }
83 inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
84 inline UpdateComponentConfigurationRequest& WithTier(const Tier& value) { SetTier(value); return *this;}
85 inline UpdateComponentConfigurationRequest& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;}
87
89
100 inline const Aws::String& GetComponentConfiguration() const{ return m_componentConfiguration; }
101 inline bool ComponentConfigurationHasBeenSet() const { return m_componentConfigurationHasBeenSet; }
102 inline void SetComponentConfiguration(const Aws::String& value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration = value; }
103 inline void SetComponentConfiguration(Aws::String&& value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration = std::move(value); }
104 inline void SetComponentConfiguration(const char* value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration.assign(value); }
109
111
115 inline bool GetAutoConfigEnabled() const{ return m_autoConfigEnabled; }
116 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
117 inline void SetAutoConfigEnabled(bool value) { m_autoConfigEnabledHasBeenSet = true; m_autoConfigEnabled = value; }
120 private:
121
122 Aws::String m_resourceGroupName;
123 bool m_resourceGroupNameHasBeenSet = false;
124
125 Aws::String m_componentName;
126 bool m_componentNameHasBeenSet = false;
127
128 bool m_monitor;
129 bool m_monitorHasBeenSet = false;
130
131 Tier m_tier;
132 bool m_tierHasBeenSet = false;
133
134 Aws::String m_componentConfiguration;
135 bool m_componentConfigurationHasBeenSet = false;
136
137 bool m_autoConfigEnabled;
138 bool m_autoConfigEnabledHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace ApplicationInsights
143} // namespace Aws
UpdateComponentConfigurationRequest & WithComponentName(const char *value)
UpdateComponentConfigurationRequest & WithComponentConfiguration(const char *value)
UpdateComponentConfigurationRequest & WithComponentName(Aws::String &&value)
UpdateComponentConfigurationRequest & WithResourceGroupName(Aws::String &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateComponentConfigurationRequest & WithComponentName(const Aws::String &value)
UpdateComponentConfigurationRequest & WithResourceGroupName(const char *value)
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
UpdateComponentConfigurationRequest & WithComponentConfiguration(Aws::String &&value)
UpdateComponentConfigurationRequest & WithResourceGroupName(const Aws::String &value)
UpdateComponentConfigurationRequest & WithComponentConfiguration(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String