AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeDirectoryConfigsRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppStream {
16namespace Model {
17
21 public:
22 AWS_APPSTREAM_API DescribeDirectoryConfigsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeDirectoryConfigs"; }
29
30 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::Vector<Aws::String>& GetDirectoryNames() const { return m_directoryNames; }
39 inline bool DirectoryNamesHasBeenSet() const { return m_directoryNamesHasBeenSet; }
40 template <typename DirectoryNamesT = Aws::Vector<Aws::String>>
41 void SetDirectoryNames(DirectoryNamesT&& value) {
42 m_directoryNamesHasBeenSet = true;
43 m_directoryNames = std::forward<DirectoryNamesT>(value);
44 }
45 template <typename DirectoryNamesT = Aws::Vector<Aws::String>>
47 SetDirectoryNames(std::forward<DirectoryNamesT>(value));
48 return *this;
49 }
50 template <typename DirectoryNamesT = Aws::String>
52 m_directoryNamesHasBeenSet = true;
53 m_directoryNames.emplace_back(std::forward<DirectoryNamesT>(value));
54 return *this;
55 }
57
59
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
79 inline const Aws::String& GetNextToken() const { return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 template <typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) {
83 m_nextTokenHasBeenSet = true;
84 m_nextToken = std::forward<NextTokenT>(value);
85 }
86 template <typename NextTokenT = Aws::String>
88 SetNextToken(std::forward<NextTokenT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<Aws::String> m_directoryNames;
94 bool m_directoryNamesHasBeenSet = false;
95
96 int m_maxResults{0};
97 bool m_maxResultsHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace AppStream
105} // namespace Aws
DescribeDirectoryConfigsRequest & WithDirectoryNames(DirectoryNamesT &&value)
DescribeDirectoryConfigsRequest & WithNextToken(NextTokenT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeDirectoryConfigsRequest & AddDirectoryNames(DirectoryNamesT &&value)
AWS_APPSTREAM_API DescribeDirectoryConfigsRequest()=default
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