/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { /** *

Represents a Contributor Insights summary entry.

See Also:

* AWS * API Reference

*/ class ContributorInsightsSummary { public: AWS_DYNAMODB_API ContributorInsightsSummary(); AWS_DYNAMODB_API ContributorInsightsSummary(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API ContributorInsightsSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Name of the table associated with the summary.

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

Name of the table associated with the summary.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

Name of the table associated with the summary.

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

Name of the table associated with the summary.

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

Name of the table associated with the summary.

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

Name of the table associated with the summary.

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

Name of the table associated with the summary.

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

Name of the table associated with the summary.

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

Name of the index associated with the summary, if any.

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

Name of the index associated with the summary, if any.

*/ inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** *

Name of the index associated with the summary, if any.

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

Name of the index associated with the summary, if any.

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

Name of the index associated with the summary, if any.

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

Name of the index associated with the summary, if any.

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

Name of the index associated with the summary, if any.

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

Name of the index associated with the summary, if any.

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

Describes the current status for contributor insights for the given table and * index, if applicable.

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

Describes the current status for contributor insights for the given table and * index, if applicable.

*/ inline bool ContributorInsightsStatusHasBeenSet() const { return m_contributorInsightsStatusHasBeenSet; } /** *

Describes the current status for contributor insights for the given table and * index, if applicable.

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

Describes the current status for contributor insights for the given table and * index, if applicable.

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

Describes the current status for contributor insights for the given table and * index, if applicable.

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

Describes the current status for contributor insights for the given table and * index, if applicable.

*/ inline ContributorInsightsSummary& WithContributorInsightsStatus(ContributorInsightsStatus&& value) { SetContributorInsightsStatus(std::move(value)); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_indexName; bool m_indexNameHasBeenSet = false; ContributorInsightsStatus m_contributorInsightsStatus; bool m_contributorInsightsStatusHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws