AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeImagesRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/appstream/model/VisibilityType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace AppStream {
17namespace Model {
18
22 public:
23 AWS_APPSTREAM_API DescribeImagesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeImages"; }
30
31 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
40 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
41 template <typename NamesT = Aws::Vector<Aws::String>>
42 void SetNames(NamesT&& value) {
43 m_namesHasBeenSet = true;
44 m_names = std::forward<NamesT>(value);
45 }
46 template <typename NamesT = Aws::Vector<Aws::String>>
48 SetNames(std::forward<NamesT>(value));
49 return *this;
50 }
51 template <typename NamesT = Aws::String>
53 m_namesHasBeenSet = true;
54 m_names.emplace_back(std::forward<NamesT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<Aws::String>& GetArns() const { return m_arns; }
64 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
65 template <typename ArnsT = Aws::Vector<Aws::String>>
66 void SetArns(ArnsT&& value) {
67 m_arnsHasBeenSet = true;
68 m_arns = std::forward<ArnsT>(value);
69 }
70 template <typename ArnsT = Aws::Vector<Aws::String>>
72 SetArns(std::forward<ArnsT>(value));
73 return *this;
74 }
75 template <typename ArnsT = Aws::String>
77 m_arnsHasBeenSet = true;
78 m_arns.emplace_back(std::forward<ArnsT>(value));
79 return *this;
80 }
82
84
87 inline VisibilityType GetType() const { return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(VisibilityType value) {
90 m_typeHasBeenSet = true;
91 m_type = value;
92 }
94 SetType(value);
95 return *this;
96 }
98
100
104 inline const Aws::String& GetNextToken() const { return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 template <typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) {
108 m_nextTokenHasBeenSet = true;
109 m_nextToken = std::forward<NextTokenT>(value);
110 }
111 template <typename NextTokenT = Aws::String>
113 SetNextToken(std::forward<NextTokenT>(value));
114 return *this;
115 }
117
119
122 inline int GetMaxResults() const { return m_maxResults; }
123 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
124 inline void SetMaxResults(int value) {
125 m_maxResultsHasBeenSet = true;
126 m_maxResults = value;
127 }
129 SetMaxResults(value);
130 return *this;
131 }
133 private:
135
137
139
140 Aws::String m_nextToken;
141
142 int m_maxResults{0};
143 bool m_namesHasBeenSet = false;
144 bool m_arnsHasBeenSet = false;
145 bool m_typeHasBeenSet = false;
146 bool m_nextTokenHasBeenSet = false;
147 bool m_maxResultsHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace AppStream
152} // namespace Aws
AWS_APPSTREAM_API DescribeImagesRequest()=default
DescribeImagesRequest & WithArns(ArnsT &&value)
virtual const char * GetServiceRequestName() const override
DescribeImagesRequest & WithMaxResults(int value)
DescribeImagesRequest & AddArns(ArnsT &&value)
const Aws::Vector< Aws::String > & GetNames() const
DescribeImagesRequest & WithNames(NamesT &&value)
DescribeImagesRequest & AddNames(NamesT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeImagesRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetArns() const
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImagesRequest & WithType(VisibilityType 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