/** * 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 AWS_RAM_API GetResourceShareInvitationsRequest : public RAMRequest { public: GetResourceShareInvitationsRequest(); // 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 "GetResourceShareInvitations"; } Aws::String SerializePayload() const override; /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline const Aws::Vector& GetResourceShareInvitationArns() const{ return m_resourceShareInvitationArns; } /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline bool ResourceShareInvitationArnsHasBeenSet() const { return m_resourceShareInvitationArnsHasBeenSet; } /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline void SetResourceShareInvitationArns(const Aws::Vector& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns = value; } /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline void SetResourceShareInvitationArns(Aws::Vector&& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns = std::move(value); } /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline GetResourceShareInvitationsRequest& WithResourceShareInvitationArns(const Aws::Vector& value) { SetResourceShareInvitationArns(value); return *this;} /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline GetResourceShareInvitationsRequest& WithResourceShareInvitationArns(Aws::Vector&& value) { SetResourceShareInvitationArns(std::move(value)); return *this;} /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline GetResourceShareInvitationsRequest& AddResourceShareInvitationArns(const Aws::String& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns.push_back(value); return *this; } /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline GetResourceShareInvitationsRequest& AddResourceShareInvitationArns(Aws::String&& value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Names (ARN) of the invitations.

*/ inline GetResourceShareInvitationsRequest& AddResourceShareInvitationArns(const char* value) { m_resourceShareInvitationArnsHasBeenSet = true; m_resourceShareInvitationArns.push_back(value); return *this; } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline const Aws::Vector& GetResourceShareArns() const{ return m_resourceShareArns; } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline bool ResourceShareArnsHasBeenSet() const { return m_resourceShareArnsHasBeenSet; } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline void SetResourceShareArns(const Aws::Vector& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns = value; } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline void SetResourceShareArns(Aws::Vector&& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns = std::move(value); } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline GetResourceShareInvitationsRequest& WithResourceShareArns(const Aws::Vector& value) { SetResourceShareArns(value); return *this;} /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline GetResourceShareInvitationsRequest& WithResourceShareArns(Aws::Vector&& value) { SetResourceShareArns(std::move(value)); return *this;} /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline GetResourceShareInvitationsRequest& AddResourceShareArns(const Aws::String& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns.push_back(value); return *this; } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline GetResourceShareInvitationsRequest& AddResourceShareArns(Aws::String&& value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Names (ARN) of the resource shares.

*/ inline GetResourceShareInvitationsRequest& AddResourceShareArns(const char* value) { m_resourceShareArnsHasBeenSet = true; m_resourceShareArns.push_back(value); return *this; } /** *

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

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

The maximum number of results to return with a single call. To retrieve the * remaining results, make another call with the returned nextToken * value.

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

The maximum number of results to return with a single call. To retrieve the * remaining results, make another call with the returned nextToken * value.

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

The maximum number of results to return with a single call. To retrieve the * remaining results, make another call with the returned nextToken * value.

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

The maximum number of results to return with a single call. To retrieve the * remaining results, make another call with the returned nextToken * value.

*/ inline GetResourceShareInvitationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::Vector m_resourceShareInvitationArns; bool m_resourceShareInvitationArnsHasBeenSet; Aws::Vector m_resourceShareArns; bool m_resourceShareArnsHasBeenSet; Aws::String m_nextToken; bool m_nextTokenHasBeenSet; int m_maxResults; bool m_maxResultsHasBeenSet; }; } // namespace Model } // namespace RAM } // namespace Aws