AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeContributorInsightsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dynamodb/DynamoDB_EXPORTS.h>
12#include <aws/dynamodb/model/ContributorInsightsMode.h>
13#include <aws/dynamodb/model/ContributorInsightsStatus.h>
14#include <aws/dynamodb/model/FailureException.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DynamoDB {
28namespace Model {
30 public:
31 AWS_DYNAMODB_API DescribeContributorInsightsResult() = default;
34
36
39 inline const Aws::String& GetTableName() const { return m_tableName; }
40 template <typename TableNameT = Aws::String>
41 void SetTableName(TableNameT&& value) {
42 m_tableNameHasBeenSet = true;
43 m_tableName = std::forward<TableNameT>(value);
44 }
45 template <typename TableNameT = Aws::String>
47 SetTableName(std::forward<TableNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIndexName() const { return m_indexName; }
57 template <typename IndexNameT = Aws::String>
58 void SetIndexName(IndexNameT&& value) {
59 m_indexNameHasBeenSet = true;
60 m_indexName = std::forward<IndexNameT>(value);
61 }
62 template <typename IndexNameT = Aws::String>
64 SetIndexName(std::forward<IndexNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::Vector<Aws::String>& GetContributorInsightsRuleList() const { return m_contributorInsightsRuleList; }
74 template <typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
75 void SetContributorInsightsRuleList(ContributorInsightsRuleListT&& value) {
76 m_contributorInsightsRuleListHasBeenSet = true;
77 m_contributorInsightsRuleList = std::forward<ContributorInsightsRuleListT>(value);
78 }
79 template <typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
81 SetContributorInsightsRuleList(std::forward<ContributorInsightsRuleListT>(value));
82 return *this;
83 }
84 template <typename ContributorInsightsRuleListT = Aws::String>
86 m_contributorInsightsRuleListHasBeenSet = true;
87 m_contributorInsightsRuleList.emplace_back(std::forward<ContributorInsightsRuleListT>(value));
88 return *this;
89 }
91
93
96 inline ContributorInsightsStatus GetContributorInsightsStatus() const { return m_contributorInsightsStatus; }
98 m_contributorInsightsStatusHasBeenSet = true;
99 m_contributorInsightsStatus = value;
100 }
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdateDateTime() const { return m_lastUpdateDateTime; }
112 template <typename LastUpdateDateTimeT = Aws::Utils::DateTime>
113 void SetLastUpdateDateTime(LastUpdateDateTimeT&& value) {
114 m_lastUpdateDateTimeHasBeenSet = true;
115 m_lastUpdateDateTime = std::forward<LastUpdateDateTimeT>(value);
116 }
117 template <typename LastUpdateDateTimeT = Aws::Utils::DateTime>
119 SetLastUpdateDateTime(std::forward<LastUpdateDateTimeT>(value));
120 return *this;
121 }
123
125
138 inline const FailureException& GetFailureException() const { return m_failureException; }
139 template <typename FailureExceptionT = FailureException>
140 void SetFailureException(FailureExceptionT&& value) {
141 m_failureExceptionHasBeenSet = true;
142 m_failureException = std::forward<FailureExceptionT>(value);
143 }
144 template <typename FailureExceptionT = FailureException>
146 SetFailureException(std::forward<FailureExceptionT>(value));
147 return *this;
148 }
150
152
157 inline ContributorInsightsMode GetContributorInsightsMode() const { return m_contributorInsightsMode; }
159 m_contributorInsightsModeHasBeenSet = true;
160 m_contributorInsightsMode = value;
161 }
164 return *this;
165 }
167
169
170 inline const Aws::String& GetRequestId() const { return m_requestId; }
171 template <typename RequestIdT = Aws::String>
172 void SetRequestId(RequestIdT&& value) {
173 m_requestIdHasBeenSet = true;
174 m_requestId = std::forward<RequestIdT>(value);
175 }
176 template <typename RequestIdT = Aws::String>
178 SetRequestId(std::forward<RequestIdT>(value));
179 return *this;
180 }
182 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
183
184 private:
185 Aws::String m_tableName;
186
187 Aws::String m_indexName;
188
189 Aws::Vector<Aws::String> m_contributorInsightsRuleList;
190
192
193 Aws::Utils::DateTime m_lastUpdateDateTime{};
194
195 FailureException m_failureException;
196
198
199 Aws::String m_requestId;
200 Aws::Http::HttpResponseCode m_HttpResponseCode;
201 bool m_tableNameHasBeenSet = false;
202 bool m_indexNameHasBeenSet = false;
203 bool m_contributorInsightsRuleListHasBeenSet = false;
204 bool m_contributorInsightsStatusHasBeenSet = false;
205 bool m_lastUpdateDateTimeHasBeenSet = false;
206 bool m_failureExceptionHasBeenSet = false;
207 bool m_contributorInsightsModeHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace DynamoDB
213} // namespace Aws
AWS_DYNAMODB_API DescribeContributorInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeContributorInsightsResult & WithFailureException(FailureExceptionT &&value)
DescribeContributorInsightsResult & AddContributorInsightsRuleList(ContributorInsightsRuleListT &&value)
DescribeContributorInsightsResult & WithIndexName(IndexNameT &&value)
DescribeContributorInsightsResult & WithLastUpdateDateTime(LastUpdateDateTimeT &&value)
DescribeContributorInsightsResult & WithContributorInsightsStatus(ContributorInsightsStatus value)
DescribeContributorInsightsResult & WithRequestId(RequestIdT &&value)
void SetContributorInsightsRuleList(ContributorInsightsRuleListT &&value)
AWS_DYNAMODB_API DescribeContributorInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeContributorInsightsResult & WithContributorInsightsMode(ContributorInsightsMode value)
AWS_DYNAMODB_API DescribeContributorInsightsResult()=default
DescribeContributorInsightsResult & WithContributorInsightsRuleList(ContributorInsightsRuleListT &&value)
DescribeContributorInsightsResult & WithTableName(TableNameT &&value)
const Aws::Vector< Aws::String > & GetContributorInsightsRuleList() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue