/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { class AWS_DYNAMODB_API CreateGlobalTableResult { public: CreateGlobalTableResult(); CreateGlobalTableResult(const Aws::AmazonWebServiceResult& result); CreateGlobalTableResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Contains the details of the global table.

*/ inline const GlobalTableDescription& GetGlobalTableDescription() const{ return m_globalTableDescription; } /** *

Contains the details of the global table.

*/ inline void SetGlobalTableDescription(const GlobalTableDescription& value) { m_globalTableDescription = value; } /** *

Contains the details of the global table.

*/ inline void SetGlobalTableDescription(GlobalTableDescription&& value) { m_globalTableDescription = std::move(value); } /** *

Contains the details of the global table.

*/ inline CreateGlobalTableResult& WithGlobalTableDescription(const GlobalTableDescription& value) { SetGlobalTableDescription(value); return *this;} /** *

Contains the details of the global table.

*/ inline CreateGlobalTableResult& WithGlobalTableDescription(GlobalTableDescription&& value) { SetGlobalTableDescription(std::move(value)); return *this;} private: GlobalTableDescription m_globalTableDescription; }; } // namespace Model } // namespace DynamoDB } // namespace Aws