AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeComponentConfigurationRecommendationRequest.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 <aws/application-insights/model/RecommendationType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApplicationInsights
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeComponentConfigurationRecommendation"; }
33
34 AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
44 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
45 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
46 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
47 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
52
54
57 inline const Aws::String& GetComponentName() const{ return m_componentName; }
58 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
59 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
60 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
61 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
66
68
71 inline const Tier& GetTier() const{ return m_tier; }
72 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
73 inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; }
74 inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
75 inline DescribeComponentConfigurationRecommendationRequest& WithTier(const Tier& value) { SetTier(value); return *this;}
76 inline DescribeComponentConfigurationRecommendationRequest& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;}
78
80
85 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
86 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
87 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
88 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
89 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
94
96
99 inline const RecommendationType& GetRecommendationType() const{ return m_recommendationType; }
100 inline bool RecommendationTypeHasBeenSet() const { return m_recommendationTypeHasBeenSet; }
101 inline void SetRecommendationType(const RecommendationType& value) { m_recommendationTypeHasBeenSet = true; m_recommendationType = value; }
102 inline void SetRecommendationType(RecommendationType&& value) { m_recommendationTypeHasBeenSet = true; m_recommendationType = std::move(value); }
106 private:
107
108 Aws::String m_resourceGroupName;
109 bool m_resourceGroupNameHasBeenSet = false;
110
111 Aws::String m_componentName;
112 bool m_componentNameHasBeenSet = false;
113
114 Tier m_tier;
115 bool m_tierHasBeenSet = false;
116
117 Aws::String m_workloadName;
118 bool m_workloadNameHasBeenSet = false;
119
120 RecommendationType m_recommendationType;
121 bool m_recommendationTypeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ApplicationInsights
126} // namespace Aws
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
DescribeComponentConfigurationRecommendationRequest & WithRecommendationType(const RecommendationType &value)
DescribeComponentConfigurationRecommendationRequest & WithResourceGroupName(const Aws::String &value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeComponentConfigurationRecommendationRequest & WithWorkloadName(const Aws::String &value)
DescribeComponentConfigurationRecommendationRequest & WithComponentName(const Aws::String &value)
DescribeComponentConfigurationRecommendationRequest & WithRecommendationType(RecommendationType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String