/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Schemas { namespace Model { class AWS_SCHEMAS_API SearchSchemasResult { public: SearchSchemasResult(); SearchSchemasResult(const Aws::AmazonWebServiceResult& result); SearchSchemasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

An array of SearchSchemaSummary information.

*/ inline const Aws::Vector& GetSchemas() const{ return m_schemas; } /** *

An array of SearchSchemaSummary information.

*/ inline void SetSchemas(const Aws::Vector& value) { m_schemas = value; } /** *

An array of SearchSchemaSummary information.

*/ inline void SetSchemas(Aws::Vector&& value) { m_schemas = std::move(value); } /** *

An array of SearchSchemaSummary information.

*/ inline SearchSchemasResult& WithSchemas(const Aws::Vector& value) { SetSchemas(value); return *this;} /** *

An array of SearchSchemaSummary information.

*/ inline SearchSchemasResult& WithSchemas(Aws::Vector&& value) { SetSchemas(std::move(value)); return *this;} /** *

An array of SearchSchemaSummary information.

*/ inline SearchSchemasResult& AddSchemas(const SearchSchemaSummary& value) { m_schemas.push_back(value); return *this; } /** *

An array of SearchSchemaSummary information.

*/ inline SearchSchemasResult& AddSchemas(SearchSchemaSummary&& value) { m_schemas.push_back(std::move(value)); return *this; } private: Aws::String m_nextToken; Aws::Vector m_schemas; }; } // namespace Model } // namespace Schemas } // namespace Aws