AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
DescribeConnectionAliasesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workspaces/WorkSpacesRequest.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WorkSpaces {
16namespace Model {
17
21 public:
22 AWS_WORKSPACES_API DescribeConnectionAliasesRequest() = 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 "DescribeConnectionAliases"; }
29
30 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::Vector<Aws::String>& GetAliasIds() const { return m_aliasIds; }
39 inline bool AliasIdsHasBeenSet() const { return m_aliasIdsHasBeenSet; }
40 template <typename AliasIdsT = Aws::Vector<Aws::String>>
41 void SetAliasIds(AliasIdsT&& value) {
42 m_aliasIdsHasBeenSet = true;
43 m_aliasIds = std::forward<AliasIdsT>(value);
44 }
45 template <typename AliasIdsT = Aws::Vector<Aws::String>>
47 SetAliasIds(std::forward<AliasIdsT>(value));
48 return *this;
49 }
50 template <typename AliasIdsT = Aws::String>
52 m_aliasIdsHasBeenSet = true;
53 m_aliasIds.emplace_back(std::forward<AliasIdsT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetResourceId() const { return m_resourceId; }
63 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
64 template <typename ResourceIdT = Aws::String>
65 void SetResourceId(ResourceIdT&& value) {
66 m_resourceIdHasBeenSet = true;
67 m_resourceId = std::forward<ResourceIdT>(value);
68 }
69 template <typename ResourceIdT = Aws::String>
71 SetResourceId(std::forward<ResourceIdT>(value));
72 return *this;
73 }
75
77
80 inline int GetLimit() const { return m_limit; }
81 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
82 inline void SetLimit(int value) {
83 m_limitHasBeenSet = true;
84 m_limit = value;
85 }
87 SetLimit(value);
88 return *this;
89 }
91
93
97 inline const Aws::String& GetNextToken() const { return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 template <typename NextTokenT = Aws::String>
100 void SetNextToken(NextTokenT&& value) {
101 m_nextTokenHasBeenSet = true;
102 m_nextToken = std::forward<NextTokenT>(value);
103 }
104 template <typename NextTokenT = Aws::String>
106 SetNextToken(std::forward<NextTokenT>(value));
107 return *this;
108 }
110 private:
111 Aws::Vector<Aws::String> m_aliasIds;
112
113 Aws::String m_resourceId;
114
115 int m_limit{0};
116
117 Aws::String m_nextToken;
118 bool m_aliasIdsHasBeenSet = false;
119 bool m_resourceIdHasBeenSet = false;
120 bool m_limitHasBeenSet = false;
121 bool m_nextTokenHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace WorkSpaces
126} // namespace Aws
AWS_WORKSPACES_API Aws::String SerializePayload() const override
DescribeConnectionAliasesRequest & WithNextToken(NextTokenT &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKSPACES_API DescribeConnectionAliasesRequest()=default
DescribeConnectionAliasesRequest & WithResourceId(ResourceIdT &&value)
DescribeConnectionAliasesRequest & AddAliasIds(AliasIdsT &&value)
DescribeConnectionAliasesRequest & WithAliasIds(AliasIdsT &&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