AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAliasIds(const Aws::Vector<Aws::String>& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = value; }
45 inline void SetAliasIds(Aws::Vector<Aws::String>&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = std::move(value); }
47 inline DescribeConnectionAliasesRequest& WithAliasIds(Aws::Vector<Aws::String>&& value) { SetAliasIds(std::move(value)); return *this;}
48 inline DescribeConnectionAliasesRequest& AddAliasIds(const Aws::String& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(value); return *this; }
49 inline DescribeConnectionAliasesRequest& AddAliasIds(Aws::String&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(std::move(value)); return *this; }
50 inline DescribeConnectionAliasesRequest& AddAliasIds(const char* value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(value); return *this; }
52
54
57 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
58 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
59 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
60 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
61 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
62 inline DescribeConnectionAliasesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
63 inline DescribeConnectionAliasesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
64 inline DescribeConnectionAliasesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
66
68
71 inline int GetLimit() const{ return m_limit; }
72 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
73 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
74 inline DescribeConnectionAliasesRequest& WithLimit(int value) { SetLimit(value); return *this;}
76
78
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 inline DescribeConnectionAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline DescribeConnectionAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline DescribeConnectionAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91 private:
92
93 Aws::Vector<Aws::String> m_aliasIds;
94 bool m_aliasIdsHasBeenSet = false;
95
96 Aws::String m_resourceId;
97 bool m_resourceIdHasBeenSet = false;
98
99 int m_limit;
100 bool m_limitHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace WorkSpaces
108} // namespace Aws
AWS_WORKSPACES_API Aws::String SerializePayload() const override
DescribeConnectionAliasesRequest & WithAliasIds(Aws::Vector< Aws::String > &&value)
DescribeConnectionAliasesRequest & WithNextToken(const Aws::String &value)
DescribeConnectionAliasesRequest & WithAliasIds(const Aws::Vector< Aws::String > &value)
DescribeConnectionAliasesRequest & AddAliasIds(Aws::String &&value)
DescribeConnectionAliasesRequest & WithResourceId(Aws::String &&value)
DescribeConnectionAliasesRequest & WithNextToken(Aws::String &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeConnectionAliasesRequest & AddAliasIds(const char *value)
DescribeConnectionAliasesRequest & WithNextToken(const char *value)
DescribeConnectionAliasesRequest & WithResourceId(const Aws::String &value)
DescribeConnectionAliasesRequest & AddAliasIds(const Aws::String &value)
DescribeConnectionAliasesRequest & WithResourceId(const char *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