AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateContributorInsightsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/ContributorInsightsAction.h>
11#include <aws/dynamodb/model/ContributorInsightsMode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DynamoDB {
17namespace Model {
18
22 public:
23 AWS_DYNAMODB_API UpdateContributorInsightsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateContributorInsights"; }
30
31 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
32
34
38 AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override;
39
41
45 inline const Aws::String& GetTableName() const { return m_tableName; }
46 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
47 template <typename TableNameT = Aws::String>
48 void SetTableName(TableNameT&& value) {
49 m_tableNameHasBeenSet = true;
50 m_tableName = std::forward<TableNameT>(value);
51 }
52 template <typename TableNameT = Aws::String>
54 SetTableName(std::forward<TableNameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetIndexName() const { return m_indexName; }
64 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
65 template <typename IndexNameT = Aws::String>
66 void SetIndexName(IndexNameT&& value) {
67 m_indexNameHasBeenSet = true;
68 m_indexName = std::forward<IndexNameT>(value);
69 }
70 template <typename IndexNameT = Aws::String>
72 SetIndexName(std::forward<IndexNameT>(value));
73 return *this;
74 }
76
78
81 inline ContributorInsightsAction GetContributorInsightsAction() const { return m_contributorInsightsAction; }
82 inline bool ContributorInsightsActionHasBeenSet() const { return m_contributorInsightsActionHasBeenSet; }
84 m_contributorInsightsActionHasBeenSet = true;
85 m_contributorInsightsAction = value;
86 }
89 return *this;
90 }
92
94
98 inline ContributorInsightsMode GetContributorInsightsMode() const { return m_contributorInsightsMode; }
99 inline bool ContributorInsightsModeHasBeenSet() const { return m_contributorInsightsModeHasBeenSet; }
101 m_contributorInsightsModeHasBeenSet = true;
102 m_contributorInsightsMode = value;
103 }
106 return *this;
107 }
109 private:
110 Aws::String m_tableName;
111
112 Aws::String m_indexName;
113
115
117 bool m_tableNameHasBeenSet = false;
118 bool m_indexNameHasBeenSet = false;
119 bool m_contributorInsightsActionHasBeenSet = false;
120 bool m_contributorInsightsModeHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace DynamoDB
125} // 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