AWS SDK for C++

AWS SDK for C++ Version 1.11.775

Loading...
Searching...
No Matches
UpdateContributorInsightsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/ContributorInsightsMode.h>
11#include <aws/dynamodb/model/ContributorInsightsStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB {
25namespace Model {
27 public:
28 AWS_DYNAMODB_API UpdateContributorInsightsResult() = default;
31
33
36 inline const Aws::String& GetTableName() const { return m_tableName; }
37 template <typename TableNameT = Aws::String>
38 void SetTableName(TableNameT&& value) {
39 m_tableNameHasBeenSet = true;
40 m_tableName = std::forward<TableNameT>(value);
41 }
42 template <typename TableNameT = Aws::String>
44 SetTableName(std::forward<TableNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetIndexName() const { return m_indexName; }
54 template <typename IndexNameT = Aws::String>
55 void SetIndexName(IndexNameT&& value) {
56 m_indexNameHasBeenSet = true;
57 m_indexName = std::forward<IndexNameT>(value);
58 }
59 template <typename IndexNameT = Aws::String>
61 SetIndexName(std::forward<IndexNameT>(value));
62 return *this;
63 }
65
67
70 inline ContributorInsightsStatus GetContributorInsightsStatus() const { return m_contributorInsightsStatus; }
72 m_contributorInsightsStatusHasBeenSet = true;
73 m_contributorInsightsStatus = value;
74 }
77 return *this;
78 }
80
82
87 inline ContributorInsightsMode GetContributorInsightsMode() const { return m_contributorInsightsMode; }
89 m_contributorInsightsModeHasBeenSet = true;
90 m_contributorInsightsMode = value;
91 }
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_tableName;
116
117 Aws::String m_indexName;
118
120
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_tableNameHasBeenSet = false;
126 bool m_indexNameHasBeenSet = false;
127 bool m_contributorInsightsStatusHasBeenSet = false;
128 bool m_contributorInsightsModeHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace DynamoDB
134} // namespace Aws
UpdateContributorInsightsResult & WithContributorInsightsMode(ContributorInsightsMode value)
UpdateContributorInsightsResult & WithRequestId(RequestIdT &&value)
AWS_DYNAMODB_API UpdateContributorInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DYNAMODB_API UpdateContributorInsightsResult()=default
UpdateContributorInsightsResult & WithContributorInsightsStatus(ContributorInsightsStatus value)
UpdateContributorInsightsResult & WithIndexName(IndexNameT &&value)
UpdateContributorInsightsResult & WithTableName(TableNameT &&value)
AWS_DYNAMODB_API UpdateContributorInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue