/** * 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 Glue { namespace Model { /** */ class ListSchemasRequest : public GlueRequest { public: AWS_GLUE_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_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A wrapper structure that may contain the registry name and Amazon Resource * Name (ARN).

*/ inline const RegistryId& GetRegistryId() const{ return m_registryId; } /** *

A wrapper structure that may contain the registry name and Amazon Resource * Name (ARN).

*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *

A wrapper structure that may contain the registry name and Amazon Resource * Name (ARN).

*/ inline void SetRegistryId(const RegistryId& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *

A wrapper structure that may contain the registry name and Amazon Resource * Name (ARN).

*/ inline void SetRegistryId(RegistryId&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *

A wrapper structure that may contain the registry name and Amazon Resource * Name (ARN).

*/ inline ListSchemasRequest& WithRegistryId(const RegistryId& value) { SetRegistryId(value); return *this;} /** *

A wrapper structure that may contain the registry name and Amazon Resource * Name (ARN).

*/ inline ListSchemasRequest& WithRegistryId(RegistryId&& value) { SetRegistryId(std::move(value)); return *this;} /** *

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

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

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

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

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

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

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

*/ inline ListSchemasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: RegistryId m_registryId; bool m_registryIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws