/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace WorkSpaces { namespace Model { /** */ class DescribeWorkspacesConnectionStatusRequest : public WorkSpacesRequest { public: AWS_WORKSPACES_API DescribeWorkspacesConnectionStatusRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeWorkspacesConnectionStatus"; } AWS_WORKSPACES_API Aws::String SerializePayload() const override; AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline const Aws::Vector& GetWorkspaceIds() const{ return m_workspaceIds; } /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline bool WorkspaceIdsHasBeenSet() const { return m_workspaceIdsHasBeenSet; } /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline void SetWorkspaceIds(const Aws::Vector& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds = value; } /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline void SetWorkspaceIds(Aws::Vector&& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds = std::move(value); } /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline DescribeWorkspacesConnectionStatusRequest& WithWorkspaceIds(const Aws::Vector& value) { SetWorkspaceIds(value); return *this;} /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline DescribeWorkspacesConnectionStatusRequest& WithWorkspaceIds(Aws::Vector&& value) { SetWorkspaceIds(std::move(value)); return *this;} /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline DescribeWorkspacesConnectionStatusRequest& AddWorkspaceIds(const Aws::String& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds.push_back(value); return *this; } /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline DescribeWorkspacesConnectionStatusRequest& AddWorkspaceIds(Aws::String&& value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds.push_back(std::move(value)); return *this; } /** *

The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.

*/ inline DescribeWorkspacesConnectionStatusRequest& AddWorkspaceIds(const char* value) { m_workspaceIdsHasBeenSet = true; m_workspaceIds.push_back(value); return *this; } /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline DescribeWorkspacesConnectionStatusRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline DescribeWorkspacesConnectionStatusRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If you received a NextToken from a previous call that was * paginated, provide this token to receive the next set of results.

*/ inline DescribeWorkspacesConnectionStatusRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_workspaceIds; bool m_workspaceIdsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws