AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConnectionAliasPermissionsResult.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workspaces/model/ConnectionAliasPermission.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace WorkSpaces
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetAliasId() const{ return m_aliasId; }
42 inline void SetAliasId(const Aws::String& value) { m_aliasId = value; }
43 inline void SetAliasId(Aws::String&& value) { m_aliasId = std::move(value); }
44 inline void SetAliasId(const char* value) { m_aliasId.assign(value); }
45 inline DescribeConnectionAliasPermissionsResult& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
46 inline DescribeConnectionAliasPermissionsResult& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
47 inline DescribeConnectionAliasPermissionsResult& WithAliasId(const char* value) { SetAliasId(value); return *this;}
49
51
54 inline const Aws::Vector<ConnectionAliasPermission>& GetConnectionAliasPermissions() const{ return m_connectionAliasPermissions; }
55 inline void SetConnectionAliasPermissions(const Aws::Vector<ConnectionAliasPermission>& value) { m_connectionAliasPermissions = value; }
56 inline void SetConnectionAliasPermissions(Aws::Vector<ConnectionAliasPermission>&& value) { m_connectionAliasPermissions = std::move(value); }
59 inline DescribeConnectionAliasPermissionsResult& AddConnectionAliasPermissions(const ConnectionAliasPermission& value) { m_connectionAliasPermissions.push_back(value); return *this; }
60 inline DescribeConnectionAliasPermissionsResult& AddConnectionAliasPermissions(ConnectionAliasPermission&& value) { m_connectionAliasPermissions.push_back(std::move(value)); return *this; }
62
64
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
70 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
71 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
73 inline DescribeConnectionAliasPermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
74 inline DescribeConnectionAliasPermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline DescribeConnectionAliasPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline DescribeConnectionAliasPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_aliasId;
90
91 Aws::Vector<ConnectionAliasPermission> m_connectionAliasPermissions;
92
93 Aws::String m_nextToken;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace WorkSpaces
100} // namespace Aws
DescribeConnectionAliasPermissionsResult & WithConnectionAliasPermissions(const Aws::Vector< ConnectionAliasPermission > &value)
AWS_WORKSPACES_API DescribeConnectionAliasPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ConnectionAliasPermission > & GetConnectionAliasPermissions() const
DescribeConnectionAliasPermissionsResult & WithRequestId(Aws::String &&value)
DescribeConnectionAliasPermissionsResult & WithConnectionAliasPermissions(Aws::Vector< ConnectionAliasPermission > &&value)
void SetConnectionAliasPermissions(const Aws::Vector< ConnectionAliasPermission > &value)
DescribeConnectionAliasPermissionsResult & WithRequestId(const Aws::String &value)
DescribeConnectionAliasPermissionsResult & WithNextToken(const char *value)
DescribeConnectionAliasPermissionsResult & WithNextToken(Aws::String &&value)
AWS_WORKSPACES_API DescribeConnectionAliasPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectionAliasPermissionsResult & WithAliasId(const char *value)
DescribeConnectionAliasPermissionsResult & WithNextToken(const Aws::String &value)
DescribeConnectionAliasPermissionsResult & AddConnectionAliasPermissions(const ConnectionAliasPermission &value)
void SetConnectionAliasPermissions(Aws::Vector< ConnectionAliasPermission > &&value)
DescribeConnectionAliasPermissionsResult & AddConnectionAliasPermissions(ConnectionAliasPermission &&value)
DescribeConnectionAliasPermissionsResult & WithAliasId(const Aws::String &value)
DescribeConnectionAliasPermissionsResult & WithAliasId(Aws::String &&value)
DescribeConnectionAliasPermissionsResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue