AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
37
39
43 inline const Aws::String& GetTableName() const{ return m_tableName; }
44 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
45 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
46 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
47 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
48 inline UpdateContributorInsightsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
49 inline UpdateContributorInsightsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
50 inline UpdateContributorInsightsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
52
54
57 inline const Aws::String& GetIndexName() const{ return m_indexName; }
58 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
59 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
60 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
61 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
62 inline UpdateContributorInsightsRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
63 inline UpdateContributorInsightsRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
64 inline UpdateContributorInsightsRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
66
68
71 inline const ContributorInsightsAction& GetContributorInsightsAction() const{ return m_contributorInsightsAction; }
72 inline bool ContributorInsightsActionHasBeenSet() const { return m_contributorInsightsActionHasBeenSet; }
73 inline void SetContributorInsightsAction(const ContributorInsightsAction& value) { m_contributorInsightsActionHasBeenSet = true; m_contributorInsightsAction = value; }
74 inline void SetContributorInsightsAction(ContributorInsightsAction&& value) { m_contributorInsightsActionHasBeenSet = true; m_contributorInsightsAction = std::move(value); }
78 private:
79
80 Aws::String m_tableName;
81 bool m_tableNameHasBeenSet = false;
82
83 Aws::String m_indexName;
84 bool m_indexNameHasBeenSet = false;
85
86 ContributorInsightsAction m_contributorInsightsAction;
87 bool m_contributorInsightsActionHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DynamoDB
92} // namespace Aws
void SetContributorInsightsAction(const ContributorInsightsAction &value)
UpdateContributorInsightsRequest & WithIndexName(const Aws::String &value)
const ContributorInsightsAction & GetContributorInsightsAction() const
UpdateContributorInsightsRequest & WithContributorInsightsAction(ContributorInsightsAction &&value)
UpdateContributorInsightsRequest & WithTableName(const char *value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateContributorInsightsRequest & WithTableName(Aws::String &&value)
UpdateContributorInsightsRequest & WithTableName(const Aws::String &value)
UpdateContributorInsightsRequest & WithIndexName(Aws::String &&value)
UpdateContributorInsightsRequest & WithIndexName(const char *value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
UpdateContributorInsightsRequest & WithContributorInsightsAction(const ContributorInsightsAction &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String