AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ResourceGroupNameT = Aws::String>
45 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
46 template<typename ResourceGroupNameT = Aws::String>
47 UpdateComponentConfigurationRequest& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetComponentName() const { return m_componentName; }
55 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
56 template<typename ComponentNameT = Aws::String>
57 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
58 template<typename ComponentNameT = Aws::String>
59 UpdateComponentConfigurationRequest& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
61
63
66 inline bool GetMonitor() const { return m_monitor; }
67 inline bool MonitorHasBeenSet() const { return m_monitorHasBeenSet; }
68 inline void SetMonitor(bool value) { m_monitorHasBeenSet = true; m_monitor = value; }
69 inline UpdateComponentConfigurationRequest& WithMonitor(bool value) { SetMonitor(value); return *this;}
71
73
76 inline Tier GetTier() const { return m_tier; }
77 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
78 inline void SetTier(Tier value) { m_tierHasBeenSet = true; m_tier = value; }
79 inline UpdateComponentConfigurationRequest& WithTier(Tier value) { SetTier(value); return *this;}
81
83
94 inline const Aws::String& GetComponentConfiguration() const { return m_componentConfiguration; }
95 inline bool ComponentConfigurationHasBeenSet() const { return m_componentConfigurationHasBeenSet; }
96 template<typename ComponentConfigurationT = Aws::String>
97 void SetComponentConfiguration(ComponentConfigurationT&& value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration = std::forward<ComponentConfigurationT>(value); }
98 template<typename ComponentConfigurationT = Aws::String>
99 UpdateComponentConfigurationRequest& WithComponentConfiguration(ComponentConfigurationT&& value) { SetComponentConfiguration(std::forward<ComponentConfigurationT>(value)); return *this;}
101
103
107 inline bool GetAutoConfigEnabled() const { return m_autoConfigEnabled; }
108 inline bool AutoConfigEnabledHasBeenSet() const { return m_autoConfigEnabledHasBeenSet; }
109 inline void SetAutoConfigEnabled(bool value) { m_autoConfigEnabledHasBeenSet = true; m_autoConfigEnabled = value; }
112 private:
113
114 Aws::String m_resourceGroupName;
115 bool m_resourceGroupNameHasBeenSet = false;
116
117 Aws::String m_componentName;
118 bool m_componentNameHasBeenSet = false;
119
120 bool m_monitor{false};
121 bool m_monitorHasBeenSet = false;
122
123 Tier m_tier{Tier::NOT_SET};
124 bool m_tierHasBeenSet = false;
125
126 Aws::String m_componentConfiguration;
127 bool m_componentConfigurationHasBeenSet = false;
128
129 bool m_autoConfigEnabled{false};
130 bool m_autoConfigEnabledHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ApplicationInsights
135} // 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