/** * 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 DynamoDB { namespace Model { /** */ class DescribeContributorInsightsRequest : public DynamoDBRequest { public: AWS_DYNAMODB_API DescribeContributorInsightsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeContributorInsights"; } AWS_DYNAMODB_API Aws::String SerializePayload() const override; AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the table to describe.

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

The name of the table to describe.

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

The name of the table to describe.

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

The name of the table to describe.

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

The name of the table to describe.

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

The name of the table to describe.

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

The name of the table to describe.

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

The name of the table to describe.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

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

The name of the global secondary index to describe, if applicable.

*/ inline DescribeContributorInsightsRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_indexName; bool m_indexNameHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws