AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeComponentConfigurationRecommendationRequest.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/RecommendationType.h>
10#include <aws/application-insights/model/Tier.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ApplicationInsights {
17namespace Model {
18
22 public:
23 AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationRecommendationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeComponentConfigurationRecommendation"; }
30
31 AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
32
33 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
40 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
41 template <typename ResourceGroupNameT = Aws::String>
42 void SetResourceGroupName(ResourceGroupNameT&& value) {
43 m_resourceGroupNameHasBeenSet = true;
44 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
45 }
46 template <typename ResourceGroupNameT = Aws::String>
48 SetResourceGroupName(std::forward<ResourceGroupNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetComponentName() const { return m_componentName; }
58 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
59 template <typename ComponentNameT = Aws::String>
60 void SetComponentName(ComponentNameT&& value) {
61 m_componentNameHasBeenSet = true;
62 m_componentName = std::forward<ComponentNameT>(value);
63 }
64 template <typename ComponentNameT = Aws::String>
66 SetComponentName(std::forward<ComponentNameT>(value));
67 return *this;
68 }
70
72
75 inline Tier GetTier() const { return m_tier; }
76 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
77 inline void SetTier(Tier value) {
78 m_tierHasBeenSet = true;
79 m_tier = value;
80 }
82 SetTier(value);
83 return *this;
84 }
86
88
93 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
94 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
95 template <typename WorkloadNameT = Aws::String>
96 void SetWorkloadName(WorkloadNameT&& value) {
97 m_workloadNameHasBeenSet = true;
98 m_workloadName = std::forward<WorkloadNameT>(value);
99 }
100 template <typename WorkloadNameT = Aws::String>
102 SetWorkloadName(std::forward<WorkloadNameT>(value));
103 return *this;
104 }
106
108
111 inline RecommendationType GetRecommendationType() const { return m_recommendationType; }
112 inline bool RecommendationTypeHasBeenSet() const { return m_recommendationTypeHasBeenSet; }
114 m_recommendationTypeHasBeenSet = true;
115 m_recommendationType = value;
116 }
119 return *this;
120 }
122 private:
123 Aws::String m_resourceGroupName;
124
125 Aws::String m_componentName;
126
127 Tier m_tier{Tier::NOT_SET};
128
129 Aws::String m_workloadName;
130
132 bool m_resourceGroupNameHasBeenSet = false;
133 bool m_componentNameHasBeenSet = false;
134 bool m_tierHasBeenSet = false;
135 bool m_workloadNameHasBeenSet = false;
136 bool m_recommendationTypeHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace ApplicationInsights
141} // namespace Aws
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
DescribeComponentConfigurationRecommendationRequest & WithComponentName(ComponentNameT &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeComponentConfigurationRecommendationRequest & WithRecommendationType(RecommendationType value)
DescribeComponentConfigurationRecommendationRequest & WithResourceGroupName(ResourceGroupNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String