/** * 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 RAM { namespace Model { /** */ class ListPendingInvitationResourcesRequest : public RAMRequest { public: AWS_RAM_API ListPendingInvitationResourcesRequest(); // 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 "ListPendingInvitationResources"; } AWS_RAM_API Aws::String SerializePayload() const override; /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline const Aws::String& GetResourceShareInvitationArn() const{ return m_resourceShareInvitationArn; } /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline bool ResourceShareInvitationArnHasBeenSet() const { return m_resourceShareInvitationArnHasBeenSet; } /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline void SetResourceShareInvitationArn(const Aws::String& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = value; } /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline void SetResourceShareInvitationArn(Aws::String&& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = std::move(value); } /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline void SetResourceShareInvitationArn(const char* value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn.assign(value); } /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline ListPendingInvitationResourcesRequest& WithResourceShareInvitationArn(const Aws::String& value) { SetResourceShareInvitationArn(value); return *this;} /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline ListPendingInvitationResourcesRequest& WithResourceShareInvitationArn(Aws::String&& value) { SetResourceShareInvitationArn(std::move(value)); return *this;} /** *

Specifies the Amazon * Resource Name (ARN) of the invitation. You can use * GetResourceShareInvitations to find the ARN of the invitation.

*/ inline ListPendingInvitationResourcesRequest& WithResourceShareInvitationArn(const char* value) { SetResourceShareInvitationArn(value); return *this;} /** *

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

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

Specifies that you want to receive the next page of results. Valid only if * you received a NextToken response in the previous request. If you * did, it indicates that more output is available. Set this parameter to the value * provided by the previous call's NextToken response to request the * next page of results.

*/ inline ListPendingInvitationResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Specifies the total number of results that you want included on each page of * the response. If you do not include this parameter, it defaults to a value that * is specific to the operation. If additional items exist beyond the number you * specify, the NextToken response element is returned with a value * (not null). Include the specified value as the NextToken request * parameter in the next call to the operation to get the next part of the results. * Note that the service might return fewer results than the maximum even when * there are more results available. You should check NextToken after * every operation to ensure that you receive all of the results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Specifies the total number of results that you want included on each page of * the response. If you do not include this parameter, it defaults to a value that * is specific to the operation. If additional items exist beyond the number you * specify, the NextToken response element is returned with a value * (not null). Include the specified value as the NextToken request * parameter in the next call to the operation to get the next part of the results. * Note that the service might return fewer results than the maximum even when * there are more results available. You should check NextToken after * every operation to ensure that you receive all of the results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Specifies the total number of results that you want included on each page of * the response. If you do not include this parameter, it defaults to a value that * is specific to the operation. If additional items exist beyond the number you * specify, the NextToken response element is returned with a value * (not null). Include the specified value as the NextToken request * parameter in the next call to the operation to get the next part of the results. * Note that the service might return fewer results than the maximum even when * there are more results available. You should check NextToken after * every operation to ensure that you receive all of the results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Specifies the total number of results that you want included on each page of * the response. If you do not include this parameter, it defaults to a value that * is specific to the operation. If additional items exist beyond the number you * specify, the NextToken response element is returned with a value * (not null). Include the specified value as the NextToken request * parameter in the next call to the operation to get the next part of the results. * Note that the service might return fewer results than the maximum even when * there are more results available. You should check NextToken after * every operation to ensure that you receive all of the results.

*/ inline ListPendingInvitationResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Specifies that you want the results to include only resources that have the * specified scope.

  • ALL – the results include both * global and regional resources or resource types.

  • * GLOBAL – the results include only global resources or resource * types.

  • REGIONAL – the results include only * regional resources or resource types.

The default value is * ALL.

*/ inline const ResourceRegionScopeFilter& GetResourceRegionScope() const{ return m_resourceRegionScope; } /** *

Specifies that you want the results to include only resources that have the * specified scope.

  • ALL – the results include both * global and regional resources or resource types.

  • * GLOBAL – the results include only global resources or resource * types.

  • REGIONAL – the results include only * regional resources or resource types.

The default value is * ALL.

*/ inline bool ResourceRegionScopeHasBeenSet() const { return m_resourceRegionScopeHasBeenSet; } /** *

Specifies that you want the results to include only resources that have the * specified scope.

  • ALL – the results include both * global and regional resources or resource types.

  • * GLOBAL – the results include only global resources or resource * types.

  • REGIONAL – the results include only * regional resources or resource types.

The default value is * ALL.

*/ inline void SetResourceRegionScope(const ResourceRegionScopeFilter& value) { m_resourceRegionScopeHasBeenSet = true; m_resourceRegionScope = value; } /** *

Specifies that you want the results to include only resources that have the * specified scope.

  • ALL – the results include both * global and regional resources or resource types.

  • * GLOBAL – the results include only global resources or resource * types.

  • REGIONAL – the results include only * regional resources or resource types.

The default value is * ALL.

*/ inline void SetResourceRegionScope(ResourceRegionScopeFilter&& value) { m_resourceRegionScopeHasBeenSet = true; m_resourceRegionScope = std::move(value); } /** *

Specifies that you want the results to include only resources that have the * specified scope.

  • ALL – the results include both * global and regional resources or resource types.

  • * GLOBAL – the results include only global resources or resource * types.

  • REGIONAL – the results include only * regional resources or resource types.

The default value is * ALL.

*/ inline ListPendingInvitationResourcesRequest& WithResourceRegionScope(const ResourceRegionScopeFilter& value) { SetResourceRegionScope(value); return *this;} /** *

Specifies that you want the results to include only resources that have the * specified scope.

  • ALL – the results include both * global and regional resources or resource types.

  • * GLOBAL – the results include only global resources or resource * types.

  • REGIONAL – the results include only * regional resources or resource types.

The default value is * ALL.

*/ inline ListPendingInvitationResourcesRequest& WithResourceRegionScope(ResourceRegionScopeFilter&& value) { SetResourceRegionScope(std::move(value)); return *this;} private: Aws::String m_resourceShareInvitationArn; bool m_resourceShareInvitationArnHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; ResourceRegionScopeFilter m_resourceRegionScope; bool m_resourceRegionScopeHasBeenSet = false; }; } // namespace Model } // namespace RAM } // namespace Aws