/** * 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 Http { class URI; } //namespace Http namespace CleanRooms { namespace Model { /** */ class ListCollaborationsRequest : public CleanRoomsRequest { public: AWS_CLEANROOMS_API ListCollaborationsRequest(); // 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 "ListCollaborations"; } AWS_CLEANROOMS_API Aws::String SerializePayload() const override; AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The token value retrieved from a previous call to access the next page of * results.

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

The maximum size of the results that is returned per call. Service chooses a * default if it has not been set. Service may return a nextToken even if the * maximum results has not been met.

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

The maximum size of the results that is returned per call. Service chooses a * default if it has not been set. Service may return a nextToken even if the * maximum results has not been met.

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

The maximum size of the results that is returned per call. Service chooses a * default if it has not been set. Service may return a nextToken even if the * maximum results has not been met.

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

The maximum size of the results that is returned per call. Service chooses a * default if it has not been set. Service may return a nextToken even if the * maximum results has not been met.

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

The caller's status in a collaboration.

*/ inline const FilterableMemberStatus& GetMemberStatus() const{ return m_memberStatus; } /** *

The caller's status in a collaboration.

*/ inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; } /** *

The caller's status in a collaboration.

*/ inline void SetMemberStatus(const FilterableMemberStatus& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; } /** *

The caller's status in a collaboration.

*/ inline void SetMemberStatus(FilterableMemberStatus&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); } /** *

The caller's status in a collaboration.

*/ inline ListCollaborationsRequest& WithMemberStatus(const FilterableMemberStatus& value) { SetMemberStatus(value); return *this;} /** *

The caller's status in a collaboration.

*/ inline ListCollaborationsRequest& WithMemberStatus(FilterableMemberStatus&& value) { SetMemberStatus(std::move(value)); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; FilterableMemberStatus m_memberStatus; bool m_memberStatusHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws