/** * 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 DescribeConnectionAliasesRequest : public WorkSpacesRequest { public: AWS_WORKSPACES_API DescribeConnectionAliasesRequest(); // 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 "DescribeConnectionAliases"; } AWS_WORKSPACES_API Aws::String SerializePayload() const override; AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifiers of the connection aliases to describe.

*/ inline const Aws::Vector& GetAliasIds() const{ return m_aliasIds; } /** *

The identifiers of the connection aliases to describe.

*/ inline bool AliasIdsHasBeenSet() const { return m_aliasIdsHasBeenSet; } /** *

The identifiers of the connection aliases to describe.

*/ inline void SetAliasIds(const Aws::Vector& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = value; } /** *

The identifiers of the connection aliases to describe.

*/ inline void SetAliasIds(Aws::Vector&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds = std::move(value); } /** *

The identifiers of the connection aliases to describe.

*/ inline DescribeConnectionAliasesRequest& WithAliasIds(const Aws::Vector& value) { SetAliasIds(value); return *this;} /** *

The identifiers of the connection aliases to describe.

*/ inline DescribeConnectionAliasesRequest& WithAliasIds(Aws::Vector&& value) { SetAliasIds(std::move(value)); return *this;} /** *

The identifiers of the connection aliases to describe.

*/ inline DescribeConnectionAliasesRequest& AddAliasIds(const Aws::String& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(value); return *this; } /** *

The identifiers of the connection aliases to describe.

*/ inline DescribeConnectionAliasesRequest& AddAliasIds(Aws::String&& value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(std::move(value)); return *this; } /** *

The identifiers of the connection aliases to describe.

*/ inline DescribeConnectionAliasesRequest& AddAliasIds(const char* value) { m_aliasIdsHasBeenSet = true; m_aliasIds.push_back(value); return *this; } /** *

The identifier of the directory associated with the connection alias.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The identifier of the directory associated with the connection alias.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The identifier of the directory associated with the connection alias.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The identifier of the directory associated with the connection alias.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The identifier of the directory associated with the connection alias.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The identifier of the directory associated with the connection alias.

*/ inline DescribeConnectionAliasesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The identifier of the directory associated with the connection alias.

*/ inline DescribeConnectionAliasesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The identifier of the directory associated with the connection alias.

*/ inline DescribeConnectionAliasesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

The maximum number of connection aliases to return.

*/ inline int GetLimit() const{ return m_limit; } /** *

The maximum number of connection aliases to return.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

The maximum number of connection aliases to return.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

The maximum number of connection aliases to return.

*/ inline DescribeConnectionAliasesRequest& WithLimit(int value) { SetLimit(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 DescribeConnectionAliasesRequest& 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 DescribeConnectionAliasesRequest& 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 DescribeConnectionAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_aliasIds; bool m_aliasIdsHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws