AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConnectionAliasesRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkSpaces
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKSPACES_API DescribeConnectionAliasesRequest() = default;
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_WORKSPACES_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::Vector<Aws::String>& GetAliasIds() const { return m_aliasIds; }
43 inline bool AliasIdsHasBeenSet() const { return m_aliasIdsHasBeenSet; }
44 template<typename AliasIdsT = Aws::Vector<Aws::String>>
45 void SetAliasIds(AliasIdsT&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = std::forward<AliasIdsT>(value); }
46 template<typename AliasIdsT = Aws::Vector<Aws::String>>
47 DescribeConnectionAliasesRequest& WithAliasIds(AliasIdsT&& value) { SetAliasIds(std::forward<AliasIdsT>(value)); return *this;}
48 template<typename AliasIdsT = Aws::String>
49 DescribeConnectionAliasesRequest& AddAliasIds(AliasIdsT&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.emplace_back(std::forward<AliasIdsT>(value)); return *this; }
51
53
56 inline const Aws::String& GetResourceId() const { return m_resourceId; }
57 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
58 template<typename ResourceIdT = Aws::String>
59 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
60 template<typename ResourceIdT = Aws::String>
61 DescribeConnectionAliasesRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
63
65
68 inline int GetLimit() const { return m_limit; }
69 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
70 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
71 inline DescribeConnectionAliasesRequest& WithLimit(int value) { SetLimit(value); return *this;}
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) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
83 template<typename NextTokenT = Aws::String>
84 DescribeConnectionAliasesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
86 private:
87
88 Aws::Vector<Aws::String> m_aliasIds;
89 bool m_aliasIdsHasBeenSet = false;
90
91 Aws::String m_resourceId;
92 bool m_resourceIdHasBeenSet = false;
93
94 int m_limit{0};
95 bool m_limitHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace WorkSpaces
103} // 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