AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListAttributesRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace ECS
16{
17namespace 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
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
308 inline int GetMaxResults() const{ return m_maxResults; }
309
321 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
322
334 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
335
347 inline ListAttributesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
348
349 private:
350
351 Aws::String m_cluster;
352 bool m_clusterHasBeenSet = false;
353
354 TargetType m_targetType;
355 bool m_targetTypeHasBeenSet = false;
356
357 Aws::String m_attributeName;
358 bool m_attributeNameHasBeenSet = false;
359
360 Aws::String m_attributeValue;
361 bool m_attributeValueHasBeenSet = false;
362
363 Aws::String m_nextToken;
364 bool m_nextTokenHasBeenSet = false;
365
366 int m_maxResults;
367 bool m_maxResultsHasBeenSet = false;
368 };
369
370} // namespace Model
371} // namespace ECS
372} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ListAttributesRequest & WithCluster(const Aws::String &value)
ListAttributesRequest & WithCluster(const char *value)
ListAttributesRequest & WithAttributeName(Aws::String &&value)
ListAttributesRequest & WithTargetType(TargetType &&value)
ListAttributesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListAttributesRequest & WithAttributeValue(Aws::String &&value)
ListAttributesRequest & WithAttributeName(const char *value)
ListAttributesRequest & WithAttributeValue(const Aws::String &value)
void SetTargetType(const TargetType &value)
void SetNextToken(const Aws::String &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAttributeValue(const Aws::String &value)
ListAttributesRequest & WithAttributeValue(const char *value)
const Aws::String & GetAttributeValue() const
void SetAttributeName(const Aws::String &value)
ListAttributesRequest & WithNextToken(const Aws::String &value)
ListAttributesRequest & WithMaxResults(int value)
ListAttributesRequest & WithNextToken(Aws::String &&value)
AWS_ECS_API Aws::String SerializePayload() const override
void SetCluster(const Aws::String &value)
const Aws::String & GetAttributeName() const
ListAttributesRequest & WithAttributeName(const Aws::String &value)
ListAttributesRequest & WithTargetType(const TargetType &value)
ListAttributesRequest & WithCluster(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String