AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 <utility>
12
13namespace Aws
14{
15namespace DynamoDB
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DYNAMODB_API UpdateContributorInsightsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateContributorInsights"; }
32
33 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
34
36
40 AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override;
41
43
47 inline const Aws::String& GetTableName() const { return m_tableName; }
48 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
49 template<typename TableNameT = Aws::String>
50 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
51 template<typename TableNameT = Aws::String>
52 UpdateContributorInsightsRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetIndexName() const { return m_indexName; }
60 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
61 template<typename IndexNameT = Aws::String>
62 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
63 template<typename IndexNameT = Aws::String>
64 UpdateContributorInsightsRequest& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
66
68
71 inline ContributorInsightsAction GetContributorInsightsAction() const { return m_contributorInsightsAction; }
72 inline bool ContributorInsightsActionHasBeenSet() const { return m_contributorInsightsActionHasBeenSet; }
73 inline void SetContributorInsightsAction(ContributorInsightsAction value) { m_contributorInsightsActionHasBeenSet = true; m_contributorInsightsAction = value; }
76 private:
77
78 Aws::String m_tableName;
79 bool m_tableNameHasBeenSet = false;
80
81 Aws::String m_indexName;
82 bool m_indexNameHasBeenSet = false;
83
85 bool m_contributorInsightsActionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DynamoDB
90} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
UpdateContributorInsightsRequest & WithIndexName(IndexNameT &&value)
UpdateContributorInsightsRequest & WithContributorInsightsAction(ContributorInsightsAction value)
AWS_DYNAMODB_API UpdateContributorInsightsRequest()=default
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