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

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline const Aws::Vector& GetBundleIds() const{ return m_bundleIds; } /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline bool BundleIdsHasBeenSet() const { return m_bundleIdsHasBeenSet; } /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline void SetBundleIds(const Aws::Vector& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = value; } /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline void SetBundleIds(Aws::Vector&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds = std::move(value); } /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline DescribeWorkspaceBundlesRequest& WithBundleIds(const Aws::Vector& value) { SetBundleIds(value); return *this;} /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline DescribeWorkspaceBundlesRequest& WithBundleIds(Aws::Vector&& value) { SetBundleIds(std::move(value)); return *this;} /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline DescribeWorkspaceBundlesRequest& AddBundleIds(const Aws::String& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; } /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline DescribeWorkspaceBundlesRequest& AddBundleIds(Aws::String&& value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(std::move(value)); return *this; } /** *

The identifiers of the bundles. You cannot combine this parameter with any * other filter.

*/ inline DescribeWorkspaceBundlesRequest& AddBundleIds(const char* value) { m_bundleIdsHasBeenSet = true; m_bundleIds.push_back(value); return *this; } /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline DescribeWorkspaceBundlesRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline DescribeWorkspaceBundlesRequest& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *

The owner of the bundles. You cannot combine this parameter with any other * filter.

To describe the bundles provided by Amazon Web Services, specify * AMAZON. To describe the bundles that belong to your account, don't * specify a value.

*/ inline DescribeWorkspaceBundlesRequest& WithOwner(const char* value) { SetOwner(value); return *this;} /** *

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

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

The token for the next set of results. (You received this token from a * previous call.)

*/ inline DescribeWorkspaceBundlesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_bundleIds; bool m_bundleIdsHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws