AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeAppBlocksRequest.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 "DescribeAppBlocks"; }
32
34
36
37
41 inline const Aws::Vector<Aws::String>& GetArns() const{ return m_arns; }
42
46 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
47
51 inline void SetArns(const Aws::Vector<Aws::String>& value) { m_arnsHasBeenSet = true; m_arns = value; }
52
56 inline void SetArns(Aws::Vector<Aws::String>&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); }
57
61 inline DescribeAppBlocksRequest& WithArns(const Aws::Vector<Aws::String>& value) { SetArns(value); return *this;}
62
66 inline DescribeAppBlocksRequest& WithArns(Aws::Vector<Aws::String>&& value) { SetArns(std::move(value)); return *this;}
67
71 inline DescribeAppBlocksRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
72
76 inline DescribeAppBlocksRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; }
77
81 inline DescribeAppBlocksRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
82
83
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95
100 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101
106 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
107
112 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113
118 inline DescribeAppBlocksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119
124 inline DescribeAppBlocksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
125
130 inline DescribeAppBlocksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
131
132
136 inline int GetMaxResults() const{ return m_maxResults; }
137
141 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
142
146 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
147
151 inline DescribeAppBlocksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
152
153 private:
154
156 bool m_arnsHasBeenSet = false;
157
158 Aws::String m_nextToken;
159 bool m_nextTokenHasBeenSet = false;
160
161 int m_maxResults;
162 bool m_maxResultsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace AppStream
167} // namespace Aws
#define AWS_APPSTREAM_API
DescribeAppBlocksRequest & AddArns(Aws::String &&value)
DescribeAppBlocksRequest & WithNextToken(const Aws::String &value)
DescribeAppBlocksRequest & WithArns(const Aws::Vector< Aws::String > &value)
void SetArns(Aws::Vector< Aws::String > &&value)
DescribeAppBlocksRequest & WithMaxResults(int value)
DescribeAppBlocksRequest & WithNextToken(Aws::String &&value)
DescribeAppBlocksRequest & WithNextToken(const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeAppBlocksRequest & AddArns(const Aws::String &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAppBlocksRequest & WithArns(Aws::Vector< Aws::String > &&value)
DescribeAppBlocksRequest & AddArns(const char *value)
virtual const char * GetServiceRequestName() const override
void SetArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetArns() const
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