AWS SDK for C++  1.9.126
AWS SDK for C++
DescribeComponentConfigurationRecommendationRequest.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 "DescribeComponentConfigurationRecommendation"; }
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 DescribeComponentConfigurationRecommendationRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
67 
71  inline DescribeComponentConfigurationRecommendationRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
72 
76  inline DescribeComponentConfigurationRecommendationRequest& 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 DescribeComponentConfigurationRecommendationRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
108 
112  inline DescribeComponentConfigurationRecommendationRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
113 
117  inline DescribeComponentConfigurationRecommendationRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
118 
119 
125  inline const Tier& GetTier() const{ return m_tier; }
126 
132  inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
133 
139  inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; }
140 
146  inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
147 
153  inline DescribeComponentConfigurationRecommendationRequest& WithTier(const Tier& value) { SetTier(value); return *this;}
154 
160  inline DescribeComponentConfigurationRecommendationRequest& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;}
161 
162  private:
163 
164  Aws::String m_resourceGroupName;
165  bool m_resourceGroupNameHasBeenSet;
166 
167  Aws::String m_componentName;
168  bool m_componentNameHasBeenSet;
169 
170  Tier m_tier;
171  bool m_tierHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace ApplicationInsights
176 } // namespace Aws
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeComponentConfigurationRecommendationRequest.h:31
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::DescribeComponentConfigurationRecommendationRequest
DescribeComponentConfigurationRecommendationRequest()
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithComponentName
DescribeComponentConfigurationRecommendationRequest & WithComponentName(const char *value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:117
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithComponentName
DescribeComponentConfigurationRecommendationRequest & WithComponentName(const Aws::String &value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:107
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithResourceGroupName
DescribeComponentConfigurationRecommendationRequest & WithResourceGroupName(const char *value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:76
Aws::ApplicationInsights::Model::Tier
Tier
Definition: Tier.h:17
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithComponentName
DescribeComponentConfigurationRecommendationRequest & WithComponentName(Aws::String &&value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:112
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: DescribeComponentConfigurationRecommendationRequest.h:46
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:61
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithTier
DescribeComponentConfigurationRecommendationRequest & WithTier(const Tier &value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:153
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetTier
void SetTier(const Tier &value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:139
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetComponentName
void SetComponentName(const char *value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:102
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:56
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:51
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithTier
DescribeComponentConfigurationRecommendationRequest & WithTier(Tier &&value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:160
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithResourceGroupName
DescribeComponentConfigurationRecommendationRequest & WithResourceGroupName(Aws::String &&value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:71
AWSString.h
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: DescribeComponentConfigurationRecommendationRequest.h:41
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetComponentName
void SetComponentName(Aws::String &&value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:97
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest
Definition: DescribeComponentConfigurationRecommendationRequest.h:23
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetComponentName
void SetComponentName(const Aws::String &value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:92
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::GetTier
const Tier & GetTier() const
Definition: DescribeComponentConfigurationRecommendationRequest.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::TierHasBeenSet
bool TierHasBeenSet() const
Definition: DescribeComponentConfigurationRecommendationRequest.h:132
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::ComponentNameHasBeenSet
bool ComponentNameHasBeenSet() const
Definition: DescribeComponentConfigurationRecommendationRequest.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Tier.h
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::GetComponentName
const Aws::String & GetComponentName() const
Definition: DescribeComponentConfigurationRecommendationRequest.h:82
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SetTier
void SetTier(Tier &&value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:146
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::DescribeComponentConfigurationRecommendationRequest::WithResourceGroupName
DescribeComponentConfigurationRecommendationRequest & WithResourceGroupName(const Aws::String &value)
Definition: DescribeComponentConfigurationRecommendationRequest.h:66