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

The name of the table.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The name of the table.

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

The name of the table.

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

The name of the table.

*/ inline void SetTableName(const char* value) { m_tableName.assign(value); } /** *

The name of the table.

*/ inline UpdateContributorInsightsResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The name of the table.

*/ inline UpdateContributorInsightsResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The name of the table.

*/ inline UpdateContributorInsightsResult& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The name of the global secondary index, if applicable.

*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *

The name of the global secondary index, if applicable.

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

The name of the global secondary index, if applicable.

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

The name of the global secondary index, if applicable.

*/ inline void SetIndexName(const char* value) { m_indexName.assign(value); } /** *

The name of the global secondary index, if applicable.

*/ inline UpdateContributorInsightsResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *

The name of the global secondary index, if applicable.

*/ inline UpdateContributorInsightsResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *

The name of the global secondary index, if applicable.

*/ inline UpdateContributorInsightsResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *

The status of contributor insights

*/ inline const ContributorInsightsStatus& GetContributorInsightsStatus() const{ return m_contributorInsightsStatus; } /** *

The status of contributor insights

*/ inline void SetContributorInsightsStatus(const ContributorInsightsStatus& value) { m_contributorInsightsStatus = value; } /** *

The status of contributor insights

*/ inline void SetContributorInsightsStatus(ContributorInsightsStatus&& value) { m_contributorInsightsStatus = std::move(value); } /** *

The status of contributor insights

*/ inline UpdateContributorInsightsResult& WithContributorInsightsStatus(const ContributorInsightsStatus& value) { SetContributorInsightsStatus(value); return *this;} /** *

The status of contributor insights

*/ inline UpdateContributorInsightsResult& WithContributorInsightsStatus(ContributorInsightsStatus&& value) { SetContributorInsightsStatus(std::move(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 UpdateContributorInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateContributorInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateContributorInsightsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_tableName; Aws::String m_indexName; ContributorInsightsStatus m_contributorInsightsStatus; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws