AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeImageBuildersRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace AppStream
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 "DescribeImageBuilders"; }
32
34
36
37
41 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
42
46 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
47
51 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
52
56 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
57
61 inline DescribeImageBuildersRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
62
66 inline DescribeImageBuildersRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
67
71 inline DescribeImageBuildersRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
72
76 inline DescribeImageBuildersRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
77
81 inline DescribeImageBuildersRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
82
83
87 inline int GetMaxResults() const{ return m_maxResults; }
88
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93
97 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
98
102 inline DescribeImageBuildersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103
104
109 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
110
115 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116
121 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
122
127 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
128
133 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
134
139 inline DescribeImageBuildersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
140
145 inline DescribeImageBuildersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
146
151 inline DescribeImageBuildersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
152
153 private:
154
156 bool m_namesHasBeenSet = false;
157
158 int m_maxResults;
159 bool m_maxResultsHasBeenSet = false;
160
161 Aws::String m_nextToken;
162 bool m_nextTokenHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace AppStream
167} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImageBuildersRequest & WithNextToken(const Aws::String &value)
DescribeImageBuildersRequest & AddNames(Aws::String &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
DescribeImageBuildersRequest & WithNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNames() const
DescribeImageBuildersRequest & WithNextToken(Aws::String &&value)
DescribeImageBuildersRequest & WithNames(Aws::Vector< Aws::String > &&value)
DescribeImageBuildersRequest & WithMaxResults(int value)
DescribeImageBuildersRequest & AddNames(const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeImageBuildersRequest & AddNames(const Aws::String &value)
DescribeImageBuildersRequest & WithNextToken(const char *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