AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
UpdateContributorInsightsRequest.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/ContributorInsightsAction.h>
11#include <aws/dynamodb/model/ContributorInsightsMode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DynamoDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DYNAMODB_API UpdateContributorInsightsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateContributorInsights"; }
33
34 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
35
37
41 AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override;
42
44
48 inline const Aws::String& GetTableName() const { return m_tableName; }
49 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
50 template<typename TableNameT = Aws::String>
51 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
52 template<typename TableNameT = Aws::String>
53 UpdateContributorInsightsRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetIndexName() const { return m_indexName; }
61 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
62 template<typename IndexNameT = Aws::String>
63 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
64 template<typename IndexNameT = Aws::String>
65 UpdateContributorInsightsRequest& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
67
69
72 inline ContributorInsightsAction GetContributorInsightsAction() const { return m_contributorInsightsAction; }
73 inline bool ContributorInsightsActionHasBeenSet() const { return m_contributorInsightsActionHasBeenSet; }
74 inline void SetContributorInsightsAction(ContributorInsightsAction value) { m_contributorInsightsActionHasBeenSet = true; m_contributorInsightsAction = value; }
77
79
83 inline ContributorInsightsMode GetContributorInsightsMode() const { return m_contributorInsightsMode; }
84 inline bool ContributorInsightsModeHasBeenSet() const { return m_contributorInsightsModeHasBeenSet; }
85 inline void SetContributorInsightsMode(ContributorInsightsMode value) { m_contributorInsightsModeHasBeenSet = true; m_contributorInsightsMode = value; }
88 private:
89
90 Aws::String m_tableName;
91 bool m_tableNameHasBeenSet = false;
92
93 Aws::String m_indexName;
94 bool m_indexNameHasBeenSet = false;
95
97 bool m_contributorInsightsActionHasBeenSet = false;
98
100 bool m_contributorInsightsModeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace DynamoDB
105} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
UpdateContributorInsightsRequest & WithIndexName(IndexNameT &&value)
UpdateContributorInsightsRequest & WithContributorInsightsAction(ContributorInsightsAction value)
AWS_DYNAMODB_API UpdateContributorInsightsRequest()=default
UpdateContributorInsightsRequest & WithContributorInsightsMode(ContributorInsightsMode value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
UpdateContributorInsightsRequest & WithTableName(TableNameT &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String