/** * 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 ListSchemasRequest : public CleanRoomsRequest { public: AWS_CLEANROOMS_API ListSchemasRequest(); // 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 "ListSchemas"; } AWS_CLEANROOMS_API Aws::String SerializePayload() const override; AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline const Aws::String& GetCollaborationIdentifier() const{ return m_collaborationIdentifier; } /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; } /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline void SetCollaborationIdentifier(const Aws::String& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = value; } /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline void SetCollaborationIdentifier(Aws::String&& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = std::move(value); } /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline void SetCollaborationIdentifier(const char* value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier.assign(value); } /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline ListSchemasRequest& WithCollaborationIdentifier(const Aws::String& value) { SetCollaborationIdentifier(value); return *this;} /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline ListSchemasRequest& WithCollaborationIdentifier(Aws::String&& value) { SetCollaborationIdentifier(std::move(value)); return *this;} /** *

A unique identifier for the collaboration that the schema belongs to. * Currently accepts a collaboration ID.

*/ inline ListSchemasRequest& WithCollaborationIdentifier(const char* value) { SetCollaborationIdentifier(value); return *this;} /** *

If present, filter schemas by schema type. The only valid schema type is * currently `TABLE`.

*/ inline const SchemaType& GetSchemaType() const{ return m_schemaType; } /** *

If present, filter schemas by schema type. The only valid schema type is * currently `TABLE`.

*/ inline bool SchemaTypeHasBeenSet() const { return m_schemaTypeHasBeenSet; } /** *

If present, filter schemas by schema type. The only valid schema type is * currently `TABLE`.

*/ inline void SetSchemaType(const SchemaType& value) { m_schemaTypeHasBeenSet = true; m_schemaType = value; } /** *

If present, filter schemas by schema type. The only valid schema type is * currently `TABLE`.

*/ inline void SetSchemaType(SchemaType&& value) { m_schemaTypeHasBeenSet = true; m_schemaType = std::move(value); } /** *

If present, filter schemas by schema type. The only valid schema type is * currently `TABLE`.

*/ inline ListSchemasRequest& WithSchemaType(const SchemaType& value) { SetSchemaType(value); return *this;} /** *

If present, filter schemas by schema type. The only valid schema type is * currently `TABLE`.

*/ inline ListSchemasRequest& WithSchemaType(SchemaType&& value) { SetSchemaType(std::move(value)); return *this;} /** *

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 ListSchemasRequest& 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 ListSchemasRequest& 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 ListSchemasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum size of the results that is returned per call.

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

The maximum size of the results that is returned per call.

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

The maximum size of the results that is returned per call.

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

The maximum size of the results that is returned per call.

*/ inline ListSchemasRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_collaborationIdentifier; bool m_collaborationIdentifierHasBeenSet = false; SchemaType m_schemaType; bool m_schemaTypeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws