AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeConnectionAliasesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WorkSpaces
16 {
17 namespace 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 "DescribeConnectionAliases"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetAliasIds() const{ return m_aliasIds; }
42 
46  inline bool AliasIdsHasBeenSet() const { return m_aliasIdsHasBeenSet; }
47 
51  inline void SetAliasIds(const Aws::Vector<Aws::String>& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = value; }
52 
56  inline void SetAliasIds(Aws::Vector<Aws::String>&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = std::move(value); }
57 
61  inline DescribeConnectionAliasesRequest& WithAliasIds(const Aws::Vector<Aws::String>& value) { SetAliasIds(value); return *this;}
62 
66  inline DescribeConnectionAliasesRequest& WithAliasIds(Aws::Vector<Aws::String>&& value) { SetAliasIds(std::move(value)); return *this;}
67 
71  inline DescribeConnectionAliasesRequest& AddAliasIds(const Aws::String& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(value); return *this; }
72 
76  inline DescribeConnectionAliasesRequest& AddAliasIds(Aws::String&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(std::move(value)); return *this; }
77 
81  inline DescribeConnectionAliasesRequest& AddAliasIds(const char* value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(value); return *this; }
82 
83 
87  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
88 
92  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
93 
97  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
98 
102  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
103 
107  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
108 
112  inline DescribeConnectionAliasesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
113 
117  inline DescribeConnectionAliasesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
118 
122  inline DescribeConnectionAliasesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
123 
124 
128  inline int GetLimit() const{ return m_limit; }
129 
133  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
134 
138  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
139 
143  inline DescribeConnectionAliasesRequest& WithLimit(int value) { SetLimit(value); return *this;}
144 
145 
150  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
151 
156  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
157 
162  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
163 
168  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
169 
174  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
175 
180  inline DescribeConnectionAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
181 
186  inline DescribeConnectionAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
187 
192  inline DescribeConnectionAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
193 
194  private:
195 
196  Aws::Vector<Aws::String> m_aliasIds;
197  bool m_aliasIdsHasBeenSet;
198 
199  Aws::String m_resourceId;
200  bool m_resourceIdHasBeenSet;
201 
202  int m_limit;
203  bool m_limitHasBeenSet;
204 
205  Aws::String m_nextToken;
206  bool m_nextTokenHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace WorkSpaces
211 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeConnectionAliasesRequest.h:156
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest
Definition: DescribeConnectionAliasesRequest.h:23
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithNextToken
DescribeConnectionAliasesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeConnectionAliasesRequest.h:180
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::GetLimit
int GetLimit() const
Definition: DescribeConnectionAliasesRequest.h:128
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeConnectionAliasesRequest.h:150
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithNextToken
DescribeConnectionAliasesRequest & WithNextToken(const char *value)
Definition: DescribeConnectionAliasesRequest.h:192
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: DescribeConnectionAliasesRequest.h:87
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::AddAliasIds
DescribeConnectionAliasesRequest & AddAliasIds(const Aws::String &value)
Definition: DescribeConnectionAliasesRequest.h:71
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::AddAliasIds
DescribeConnectionAliasesRequest & AddAliasIds(Aws::String &&value)
Definition: DescribeConnectionAliasesRequest.h:76
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithResourceId
DescribeConnectionAliasesRequest & WithResourceId(const Aws::String &value)
Definition: DescribeConnectionAliasesRequest.h:112
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeConnectionAliasesRequest.h:162
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::AddAliasIds
DescribeConnectionAliasesRequest & AddAliasIds(const char *value)
Definition: DescribeConnectionAliasesRequest.h:81
AWSVector.h
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::DescribeConnectionAliasesRequest
DescribeConnectionAliasesRequest()
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeConnectionAliasesRequest.h:133
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeConnectionAliasesRequest.h:31
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithResourceId
DescribeConnectionAliasesRequest & WithResourceId(const char *value)
Definition: DescribeConnectionAliasesRequest.h:122
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeConnectionAliasesRequest.h:138
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: DescribeConnectionAliasesRequest.h:102
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeConnectionAliasesRequest.h:174
AWSString.h
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: DescribeConnectionAliasesRequest.h:92
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithResourceId
DescribeConnectionAliasesRequest & WithResourceId(Aws::String &&value)
Definition: DescribeConnectionAliasesRequest.h:117
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeConnectionAliasesRequest.h:168
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetResourceId
void SetResourceId(const char *value)
Definition: DescribeConnectionAliasesRequest.h:107
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::GetAliasIds
const Aws::Vector< Aws::String > & GetAliasIds() const
Definition: DescribeConnectionAliasesRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: DescribeConnectionAliasesRequest.h:97
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithNextToken
DescribeConnectionAliasesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeConnectionAliasesRequest.h:186
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetAliasIds
void SetAliasIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeConnectionAliasesRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithAliasIds
DescribeConnectionAliasesRequest & WithAliasIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeConnectionAliasesRequest.h:61
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::SetAliasIds
void SetAliasIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeConnectionAliasesRequest.h:56
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithLimit
DescribeConnectionAliasesRequest & WithLimit(int value)
Definition: DescribeConnectionAliasesRequest.h:143
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::WithAliasIds
DescribeConnectionAliasesRequest & WithAliasIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeConnectionAliasesRequest.h:66
Aws::WorkSpaces::Model::DescribeConnectionAliasesRequest::AliasIdsHasBeenSet
bool AliasIdsHasBeenSet() const
Definition: DescribeConnectionAliasesRequest.h:46