AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeImagesRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace AppStream
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 "DescribeImages"; }
33
35
37
38
42 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
43
47 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
48
52 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
53
57 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
58
62 inline DescribeImagesRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
63
67 inline DescribeImagesRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
68
72 inline DescribeImagesRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
73
77 inline DescribeImagesRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
78
82 inline DescribeImagesRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
83
84
88 inline const Aws::Vector<Aws::String>& GetArns() const{ return m_arns; }
89
93 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
94
98 inline void SetArns(const Aws::Vector<Aws::String>& value) { m_arnsHasBeenSet = true; m_arns = value; }
99
103 inline void SetArns(Aws::Vector<Aws::String>&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); }
104
108 inline DescribeImagesRequest& WithArns(const Aws::Vector<Aws::String>& value) { SetArns(value); return *this;}
109
113 inline DescribeImagesRequest& WithArns(Aws::Vector<Aws::String>&& value) { SetArns(std::move(value)); return *this;}
114
118 inline DescribeImagesRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
119
123 inline DescribeImagesRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; }
124
128 inline DescribeImagesRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
129
130
134 inline const VisibilityType& GetType() const{ return m_type; }
135
139 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
140
144 inline void SetType(const VisibilityType& value) { m_typeHasBeenSet = true; m_type = value; }
145
149 inline void SetType(VisibilityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
150
154 inline DescribeImagesRequest& WithType(const VisibilityType& value) { SetType(value); return *this;}
155
159 inline DescribeImagesRequest& WithType(VisibilityType&& value) { SetType(std::move(value)); return *this;}
160
161
166 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
167
172 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
173
178 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
179
184 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
185
190 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
191
196 inline DescribeImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
197
202 inline DescribeImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
203
208 inline DescribeImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
209
210
214 inline int GetMaxResults() const{ return m_maxResults; }
215
219 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
220
224 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
225
229 inline DescribeImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
230
231 private:
232
234 bool m_namesHasBeenSet = false;
235
237 bool m_arnsHasBeenSet = false;
238
239 VisibilityType m_type;
240 bool m_typeHasBeenSet = false;
241
242 Aws::String m_nextToken;
243 bool m_nextTokenHasBeenSet = false;
244
245 int m_maxResults;
246 bool m_maxResultsHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace AppStream
251} // namespace Aws
#define AWS_APPSTREAM_API
DescribeImagesRequest & AddArns(Aws::String &&value)
DescribeImagesRequest & AddArns(const char *value)
DescribeImagesRequest & AddArns(const Aws::String &value)
void SetArns(const Aws::Vector< Aws::String > &value)
DescribeImagesRequest & WithNames(Aws::Vector< Aws::String > &&value)
DescribeImagesRequest & AddNames(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeImagesRequest & WithNextToken(const Aws::String &value)
DescribeImagesRequest & WithArns(Aws::Vector< Aws::String > &&value)
DescribeImagesRequest & WithType(VisibilityType &&value)
DescribeImagesRequest & AddNames(const Aws::String &value)
DescribeImagesRequest & WithMaxResults(int value)
void SetArns(Aws::Vector< Aws::String > &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
DescribeImagesRequest & WithNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNames() const
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeImagesRequest & WithArns(const Aws::Vector< Aws::String > &value)
void SetNames(Aws::Vector< Aws::String > &&value)
DescribeImagesRequest & AddNames(Aws::String &&value)
DescribeImagesRequest & WithType(const VisibilityType &value)
const Aws::Vector< Aws::String > & GetArns() const
DescribeImagesRequest & WithNextToken(const char *value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImagesRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector