AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeDirectoryConfigsRequest.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 "DescribeDirectoryConfigs"; }
32
34
36
37
41 inline const Aws::Vector<Aws::String>& GetDirectoryNames() const{ return m_directoryNames; }
42
46 inline bool DirectoryNamesHasBeenSet() const { return m_directoryNamesHasBeenSet; }
47
51 inline void SetDirectoryNames(const Aws::Vector<Aws::String>& value) { m_directoryNamesHasBeenSet = true; m_directoryNames = value; }
52
56 inline void SetDirectoryNames(Aws::Vector<Aws::String>&& value) { m_directoryNamesHasBeenSet = true; m_directoryNames = std::move(value); }
57
62
67
71 inline DescribeDirectoryConfigsRequest& AddDirectoryNames(const Aws::String& value) { m_directoryNamesHasBeenSet = true; m_directoryNames.push_back(value); return *this; }
72
76 inline DescribeDirectoryConfigsRequest& AddDirectoryNames(Aws::String&& value) { m_directoryNamesHasBeenSet = true; m_directoryNames.push_back(std::move(value)); return *this; }
77
81 inline DescribeDirectoryConfigsRequest& AddDirectoryNames(const char* value) { m_directoryNamesHasBeenSet = true; m_directoryNames.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 DescribeDirectoryConfigsRequest& 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 DescribeDirectoryConfigsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
140
145 inline DescribeDirectoryConfigsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
146
151 inline DescribeDirectoryConfigsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
152
153 private:
154
155 Aws::Vector<Aws::String> m_directoryNames;
156 bool m_directoryNamesHasBeenSet = 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
DescribeDirectoryConfigsRequest & WithDirectoryNames(Aws::Vector< Aws::String > &&value)
void SetDirectoryNames(const Aws::Vector< Aws::String > &value)
DescribeDirectoryConfigsRequest & AddDirectoryNames(const char *value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeDirectoryConfigsRequest & WithNextToken(Aws::String &&value)
DescribeDirectoryConfigsRequest & AddDirectoryNames(Aws::String &&value)
DescribeDirectoryConfigsRequest & WithDirectoryNames(const Aws::Vector< Aws::String > &value)
DescribeDirectoryConfigsRequest & AddDirectoryNames(const Aws::String &value)
DescribeDirectoryConfigsRequest & WithNextToken(const char *value)
DescribeDirectoryConfigsRequest & WithNextToken(const 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