AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeWorkspacesConnectionStatusRequest.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 "DescribeWorkspacesConnectionStatus"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetWorkspaceIds() const{ return m_workspaceIds; }
42 
46  inline bool WorkspaceIdsHasBeenSet() const { return m_workspaceIdsHasBeenSet; }
47 
51  inline void SetWorkspaceIds(const Aws::Vector<Aws::String>& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds = value; }
52 
56  inline void SetWorkspaceIds(Aws::Vector<Aws::String>&& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds = std::move(value); }
57 
61  inline DescribeWorkspacesConnectionStatusRequest& WithWorkspaceIds(const Aws::Vector<Aws::String>& value) { SetWorkspaceIds(value); return *this;}
62 
66  inline DescribeWorkspacesConnectionStatusRequest& WithWorkspaceIds(Aws::Vector<Aws::String>&& value) { SetWorkspaceIds(std::move(value)); return *this;}
67 
71  inline DescribeWorkspacesConnectionStatusRequest& AddWorkspaceIds(const Aws::String& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds.push_back(value); return *this; }
72 
76  inline DescribeWorkspacesConnectionStatusRequest& AddWorkspaceIds(Aws::String&& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds.push_back(std::move(value)); return *this; }
77 
81  inline DescribeWorkspacesConnectionStatusRequest& AddWorkspaceIds(const char* value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds.push_back(value); return *this; }
82 
83 
88  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 
94  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 
100  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 
106  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
107 
112  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113 
118  inline DescribeWorkspacesConnectionStatusRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119 
124  inline DescribeWorkspacesConnectionStatusRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
125 
130  inline DescribeWorkspacesConnectionStatusRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
131 
132  private:
133 
134  Aws::Vector<Aws::String> m_workspaceIds;
135  bool m_workspaceIdsHasBeenSet;
136 
137  Aws::String m_nextToken;
138  bool m_nextTokenHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace WorkSpaces
143 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::WorkspaceIdsHasBeenSet
bool WorkspaceIdsHasBeenSet() const
Definition: DescribeWorkspacesConnectionStatusRequest.h:46
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::SetWorkspaceIds
void SetWorkspaceIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:56
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest
Definition: DescribeWorkspacesConnectionStatusRequest.h:23
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeWorkspacesConnectionStatusRequest.h:94
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::WithWorkspaceIds
DescribeWorkspacesConnectionStatusRequest & WithWorkspaceIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:66
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::DescribeWorkspacesConnectionStatusRequest
DescribeWorkspacesConnectionStatusRequest()
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::AddWorkspaceIds
DescribeWorkspacesConnectionStatusRequest & AddWorkspaceIds(Aws::String &&value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:76
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:100
AWSVector.h
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:112
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::WithWorkspaceIds
DescribeWorkspacesConnectionStatusRequest & WithWorkspaceIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:61
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeWorkspacesConnectionStatusRequest.h:31
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::WithNextToken
DescribeWorkspacesConnectionStatusRequest & WithNextToken(Aws::String &&value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:124
AWSString.h
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::GetWorkspaceIds
const Aws::Vector< Aws::String > & GetWorkspaceIds() const
Definition: DescribeWorkspacesConnectionStatusRequest.h:41
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::SetWorkspaceIds
void SetWorkspaceIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:51
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeWorkspacesConnectionStatusRequest.h:88
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::AddWorkspaceIds
DescribeWorkspacesConnectionStatusRequest & AddWorkspaceIds(const Aws::String &value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::WithNextToken
DescribeWorkspacesConnectionStatusRequest & WithNextToken(const Aws::String &value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:118
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::AddWorkspaceIds
DescribeWorkspacesConnectionStatusRequest & AddWorkspaceIds(const char *value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:81
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::WithNextToken
DescribeWorkspacesConnectionStatusRequest & WithNextToken(const char *value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:130
Aws::WorkSpaces::Model::DescribeWorkspacesConnectionStatusRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeWorkspacesConnectionStatusRequest.h:106