AWS SDK for C++  1.9.123
AWS SDK for C++
ListAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 #include <aws/ecs/ECSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ECS
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 "ListAttributes"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetCluster() const{ return m_cluster; }
43 
48  inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
49 
54  inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
55 
60  inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
61 
66  inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
67 
72  inline ListAttributesRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
73 
78  inline ListAttributesRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
79 
84  inline ListAttributesRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
85 
86 
90  inline const TargetType& GetTargetType() const{ return m_targetType; }
91 
95  inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
96 
100  inline void SetTargetType(const TargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
101 
105  inline void SetTargetType(TargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
106 
110  inline ListAttributesRequest& WithTargetType(const TargetType& value) { SetTargetType(value); return *this;}
111 
115  inline ListAttributesRequest& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
116 
117 
121  inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
122 
126  inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
127 
131  inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
132 
136  inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
137 
141  inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
142 
146  inline ListAttributesRequest& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
147 
151  inline ListAttributesRequest& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
152 
156  inline ListAttributesRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
157 
158 
163  inline const Aws::String& GetAttributeValue() const{ return m_attributeValue; }
164 
169  inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
170 
175  inline void SetAttributeValue(const Aws::String& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
176 
181  inline void SetAttributeValue(Aws::String&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
182 
187  inline void SetAttributeValue(const char* value) { m_attributeValueHasBeenSet = true; m_attributeValue.assign(value); }
188 
193  inline ListAttributesRequest& WithAttributeValue(const Aws::String& value) { SetAttributeValue(value); return *this;}
194 
199  inline ListAttributesRequest& WithAttributeValue(Aws::String&& value) { SetAttributeValue(std::move(value)); return *this;}
200 
205  inline ListAttributesRequest& WithAttributeValue(const char* value) { SetAttributeValue(value); return *this;}
206 
207 
217  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
218 
228  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
229 
239  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
240 
250  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
251 
261  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
262 
272  inline ListAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
273 
283  inline ListAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
284 
294  inline ListAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
295 
296 
307  inline int GetMaxResults() const{ return m_maxResults; }
308 
319  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
320 
331  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
332 
343  inline ListAttributesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
344 
345  private:
346 
347  Aws::String m_cluster;
348  bool m_clusterHasBeenSet;
349 
350  TargetType m_targetType;
351  bool m_targetTypeHasBeenSet;
352 
353  Aws::String m_attributeName;
354  bool m_attributeNameHasBeenSet;
355 
356  Aws::String m_attributeValue;
357  bool m_attributeValueHasBeenSet;
358 
359  Aws::String m_nextToken;
360  bool m_nextTokenHasBeenSet;
361 
362  int m_maxResults;
363  bool m_maxResultsHasBeenSet;
364  };
365 
366 } // namespace Model
367 } // namespace ECS
368 } // namespace Aws
Aws::ECS::Model::ListAttributesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAttributesRequest.h:228
Aws::ECS::Model::ListAttributesRequest::SetAttributeValue
void SetAttributeValue(Aws::String &&value)
Definition: ListAttributesRequest.h:181
Aws::ECS::Model::ListAttributesRequest::SetCluster
void SetCluster(const char *value)
Definition: ListAttributesRequest.h:66
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECS::Model::ListAttributesRequest::WithCluster
ListAttributesRequest & WithCluster(Aws::String &&value)
Definition: ListAttributesRequest.h:78
Aws::ECS::Model::ListAttributesRequest::WithAttributeValue
ListAttributesRequest & WithAttributeValue(Aws::String &&value)
Definition: ListAttributesRequest.h:199
Aws::ECS::Model::ListAttributesRequest::WithTargetType
ListAttributesRequest & WithTargetType(TargetType &&value)
Definition: ListAttributesRequest.h:115
Aws::ECS::Model::ListAttributesRequest::SetAttributeValue
void SetAttributeValue(const char *value)
Definition: ListAttributesRequest.h:187
Aws::ECS::Model::ListAttributesRequest::WithAttributeName
ListAttributesRequest & WithAttributeName(const char *value)
Definition: ListAttributesRequest.h:156
Aws::ECS::Model::ListAttributesRequest::AttributeNameHasBeenSet
bool AttributeNameHasBeenSet() const
Definition: ListAttributesRequest.h:126
Aws::ECS::Model::ListAttributesRequest::AttributeValueHasBeenSet
bool AttributeValueHasBeenSet() const
Definition: ListAttributesRequest.h:169
Aws::ECS::Model::ListAttributesRequest::WithNextToken
ListAttributesRequest & WithNextToken(Aws::String &&value)
Definition: ListAttributesRequest.h:283
Aws::ECS::Model::ListAttributesRequest::WithAttributeValue
ListAttributesRequest & WithAttributeValue(const Aws::String &value)
Definition: ListAttributesRequest.h:193
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListAttributesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAttributesRequest.h:217
Aws::ECS::Model::ListAttributesRequest
Definition: ListAttributesRequest.h:23
Aws::ECS::Model::ListAttributesRequest::WithCluster
ListAttributesRequest & WithCluster(const Aws::String &value)
Definition: ListAttributesRequest.h:72
Aws::ECS::Model::ListAttributesRequest::WithAttributeValue
ListAttributesRequest & WithAttributeValue(const char *value)
Definition: ListAttributesRequest.h:205
Aws::ECS::ECSRequest
Definition: ECSRequest.h:17
TargetType.h
Aws::ECS::Model::ListAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECS::Model::ListAttributesRequest::SetCluster
void SetCluster(Aws::String &&value)
Definition: ListAttributesRequest.h:60
Aws::ECS::Model::ListAttributesRequest::SetAttributeName
void SetAttributeName(const char *value)
Definition: ListAttributesRequest.h:141
Aws::ECS::Model::ListAttributesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAttributesRequest.h:239
Aws::ECS::Model::ListAttributesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAttributesRequest.h:261
Aws::ECS::Model::ListAttributesRequest::WithTargetType
ListAttributesRequest & WithTargetType(const TargetType &value)
Definition: ListAttributesRequest.h:110
AWSString.h
Aws::ECS::Model::ListAttributesRequest::SetAttributeValue
void SetAttributeValue(const Aws::String &value)
Definition: ListAttributesRequest.h:175
Aws::ECS::Model::ListAttributesRequest::WithNextToken
ListAttributesRequest & WithNextToken(const Aws::String &value)
Definition: ListAttributesRequest.h:272
Aws::ECS::Model::ListAttributesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECS::Model::ListAttributesRequest::GetCluster
const Aws::String & GetCluster() const
Definition: ListAttributesRequest.h:42
Aws::ECS::Model::ListAttributesRequest::WithAttributeName
ListAttributesRequest & WithAttributeName(Aws::String &&value)
Definition: ListAttributesRequest.h:151
Aws::ECS::Model::ListAttributesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAttributesRequest.h:319
Aws::ECS::Model::ListAttributesRequest::GetAttributeName
const Aws::String & GetAttributeName() const
Definition: ListAttributesRequest.h:121
Aws::ECS::Model::ListAttributesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAttributesRequest.h:250
Aws::ECS::Model::ListAttributesRequest::TargetTypeHasBeenSet
bool TargetTypeHasBeenSet() const
Definition: ListAttributesRequest.h:95
Aws::ECS::Model::ListAttributesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAttributesRequest.h:307
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListAttributesRequest::GetAttributeValue
const Aws::String & GetAttributeValue() const
Definition: ListAttributesRequest.h:163
Aws::ECS::Model::ListAttributesRequest::WithNextToken
ListAttributesRequest & WithNextToken(const char *value)
Definition: ListAttributesRequest.h:294
Aws::ECS::Model::ListAttributesRequest::SetAttributeName
void SetAttributeName(const Aws::String &value)
Definition: ListAttributesRequest.h:131
Aws::ECS::Model::ListAttributesRequest::ListAttributesRequest
ListAttributesRequest()
Aws::ECS::Model::ListAttributesRequest::SetCluster
void SetCluster(const Aws::String &value)
Definition: ListAttributesRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListAttributesRequest::WithCluster
ListAttributesRequest & WithCluster(const char *value)
Definition: ListAttributesRequest.h:84
Aws::ECS::Model::TargetType
TargetType
Definition: TargetType.h:17
Aws::ECS::Model::ListAttributesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAttributesRequest.h:331
Aws::ECS::Model::ListAttributesRequest::GetTargetType
const TargetType & GetTargetType() const
Definition: ListAttributesRequest.h:90
Aws::ECS::Model::ListAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAttributesRequest.h:31
Aws::ECS::Model::ListAttributesRequest::WithMaxResults
ListAttributesRequest & WithMaxResults(int value)
Definition: ListAttributesRequest.h:343
Aws::ECS::Model::ListAttributesRequest::SetTargetType
void SetTargetType(const TargetType &value)
Definition: ListAttributesRequest.h:100
ECS_EXPORTS.h
Aws::ECS::Model::ListAttributesRequest::WithAttributeName
ListAttributesRequest & WithAttributeName(const Aws::String &value)
Definition: ListAttributesRequest.h:146
Aws::ECS::Model::ListAttributesRequest::SetTargetType
void SetTargetType(TargetType &&value)
Definition: ListAttributesRequest.h:105
ECSRequest.h
Aws::ECS::Model::ListAttributesRequest::ClusterHasBeenSet
bool ClusterHasBeenSet() const
Definition: ListAttributesRequest.h:48
Aws::ECS::Model::ListAttributesRequest::SetAttributeName
void SetAttributeName(Aws::String &&value)
Definition: ListAttributesRequest.h:136