/** * 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 DynamoDB { namespace Model { class ListGlobalTablesResult { public: AWS_DYNAMODB_API ListGlobalTablesResult(); AWS_DYNAMODB_API ListGlobalTablesResult(const Aws::AmazonWebServiceResult& result); AWS_DYNAMODB_API ListGlobalTablesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of global table names.

*/ inline const Aws::Vector& GetGlobalTables() const{ return m_globalTables; } /** *

List of global table names.

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

List of global table names.

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

List of global table names.

*/ inline ListGlobalTablesResult& WithGlobalTables(const Aws::Vector& value) { SetGlobalTables(value); return *this;} /** *

List of global table names.

*/ inline ListGlobalTablesResult& WithGlobalTables(Aws::Vector&& value) { SetGlobalTables(std::move(value)); return *this;} /** *

List of global table names.

*/ inline ListGlobalTablesResult& AddGlobalTables(const GlobalTable& value) { m_globalTables.push_back(value); return *this; } /** *

List of global table names.

*/ inline ListGlobalTablesResult& AddGlobalTables(GlobalTable&& value) { m_globalTables.push_back(std::move(value)); return *this; } /** *

Last evaluated global table name.

*/ inline const Aws::String& GetLastEvaluatedGlobalTableName() const{ return m_lastEvaluatedGlobalTableName; } /** *

Last evaluated global table name.

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

Last evaluated global table name.

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

Last evaluated global table name.

*/ inline void SetLastEvaluatedGlobalTableName(const char* value) { m_lastEvaluatedGlobalTableName.assign(value); } /** *

Last evaluated global table name.

*/ inline ListGlobalTablesResult& WithLastEvaluatedGlobalTableName(const Aws::String& value) { SetLastEvaluatedGlobalTableName(value); return *this;} /** *

Last evaluated global table name.

*/ inline ListGlobalTablesResult& WithLastEvaluatedGlobalTableName(Aws::String&& value) { SetLastEvaluatedGlobalTableName(std::move(value)); return *this;} /** *

Last evaluated global table name.

*/ inline ListGlobalTablesResult& WithLastEvaluatedGlobalTableName(const char* value) { SetLastEvaluatedGlobalTableName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListGlobalTablesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListGlobalTablesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListGlobalTablesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_globalTables; Aws::String m_lastEvaluatedGlobalTableName; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws