AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAttributesRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/TargetType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ECS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ECS_API ListAttributesRequest();
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_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCluster() const{ return m_cluster; }
44 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
45 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
46 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
47 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
48 inline ListAttributesRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
49 inline ListAttributesRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
50 inline ListAttributesRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
52
54
57 inline const TargetType& GetTargetType() const{ return m_targetType; }
58 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
59 inline void SetTargetType(const TargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
60 inline void SetTargetType(TargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
61 inline ListAttributesRequest& WithTargetType(const TargetType& value) { SetTargetType(value); return *this;}
62 inline ListAttributesRequest& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
70 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
71 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
72 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
73 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
74 inline ListAttributesRequest& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
75 inline ListAttributesRequest& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
76 inline ListAttributesRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
78
80
84 inline const Aws::String& GetAttributeValue() const{ return m_attributeValue; }
85 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
86 inline void SetAttributeValue(const Aws::String& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
87 inline void SetAttributeValue(Aws::String&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
88 inline void SetAttributeValue(const char* value) { m_attributeValueHasBeenSet = true; m_attributeValue.assign(value); }
89 inline ListAttributesRequest& WithAttributeValue(const Aws::String& value) { SetAttributeValue(value); return *this;}
90 inline ListAttributesRequest& WithAttributeValue(Aws::String&& value) { SetAttributeValue(std::move(value)); return *this;}
91 inline ListAttributesRequest& WithAttributeValue(const char* value) { SetAttributeValue(value); return *this;}
93
95
104 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
108 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
109 inline ListAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
110 inline ListAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
111 inline ListAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
113
115
126 inline int GetMaxResults() const{ return m_maxResults; }
127 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
128 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
129 inline ListAttributesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
131 private:
132
133 Aws::String m_cluster;
134 bool m_clusterHasBeenSet = false;
135
136 TargetType m_targetType;
137 bool m_targetTypeHasBeenSet = false;
138
139 Aws::String m_attributeName;
140 bool m_attributeNameHasBeenSet = false;
141
142 Aws::String m_attributeValue;
143 bool m_attributeValueHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147
148 int m_maxResults;
149 bool m_maxResultsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace ECS
154} // namespace Aws
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