AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribeContributorInsightsResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/DynamoDB_EXPORTS.h>
11#include <aws/dynamodb/model/ContributorInsightsMode.h>
12#include <aws/dynamodb/model/ContributorInsightsStatus.h>
13#include <aws/dynamodb/model/FailureException.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DynamoDB {
27namespace Model {
29 public:
30 AWS_DYNAMODB_API DescribeContributorInsightsResult() = default;
33
35
38 inline const Aws::String& GetTableName() const { return m_tableName; }
39 template <typename TableNameT = Aws::String>
40 void SetTableName(TableNameT&& value) {
41 m_tableNameHasBeenSet = true;
42 m_tableName = std::forward<TableNameT>(value);
43 }
44 template <typename TableNameT = Aws::String>
46 SetTableName(std::forward<TableNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIndexName() const { return m_indexName; }
56 template <typename IndexNameT = Aws::String>
57 void SetIndexName(IndexNameT&& value) {
58 m_indexNameHasBeenSet = true;
59 m_indexName = std::forward<IndexNameT>(value);
60 }
61 template <typename IndexNameT = Aws::String>
63 SetIndexName(std::forward<IndexNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Vector<Aws::String>& GetContributorInsightsRuleList() const { return m_contributorInsightsRuleList; }
73 template <typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
74 void SetContributorInsightsRuleList(ContributorInsightsRuleListT&& value) {
75 m_contributorInsightsRuleListHasBeenSet = true;
76 m_contributorInsightsRuleList = std::forward<ContributorInsightsRuleListT>(value);
77 }
78 template <typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
80 SetContributorInsightsRuleList(std::forward<ContributorInsightsRuleListT>(value));
81 return *this;
82 }
83 template <typename ContributorInsightsRuleListT = Aws::String>
85 m_contributorInsightsRuleListHasBeenSet = true;
86 m_contributorInsightsRuleList.emplace_back(std::forward<ContributorInsightsRuleListT>(value));
87 return *this;
88 }
90
92
95 inline ContributorInsightsStatus GetContributorInsightsStatus() const { return m_contributorInsightsStatus; }
97 m_contributorInsightsStatusHasBeenSet = true;
98 m_contributorInsightsStatus = value;
99 }
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetLastUpdateDateTime() const { return m_lastUpdateDateTime; }
111 template <typename LastUpdateDateTimeT = Aws::Utils::DateTime>
112 void SetLastUpdateDateTime(LastUpdateDateTimeT&& value) {
113 m_lastUpdateDateTimeHasBeenSet = true;
114 m_lastUpdateDateTime = std::forward<LastUpdateDateTimeT>(value);
115 }
116 template <typename LastUpdateDateTimeT = Aws::Utils::DateTime>
118 SetLastUpdateDateTime(std::forward<LastUpdateDateTimeT>(value));
119 return *this;
120 }
122
124
137 inline const FailureException& GetFailureException() const { return m_failureException; }
138 template <typename FailureExceptionT = FailureException>
139 void SetFailureException(FailureExceptionT&& value) {
140 m_failureExceptionHasBeenSet = true;
141 m_failureException = std::forward<FailureExceptionT>(value);
142 }
143 template <typename FailureExceptionT = FailureException>
145 SetFailureException(std::forward<FailureExceptionT>(value));
146 return *this;
147 }
149
151
156 inline ContributorInsightsMode GetContributorInsightsMode() const { return m_contributorInsightsMode; }
158 m_contributorInsightsModeHasBeenSet = true;
159 m_contributorInsightsMode = value;
160 }
163 return *this;
164 }
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template <typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) {
172 m_requestIdHasBeenSet = true;
173 m_requestId = std::forward<RequestIdT>(value);
174 }
175 template <typename RequestIdT = Aws::String>
177 SetRequestId(std::forward<RequestIdT>(value));
178 return *this;
179 }
181 private:
182 Aws::String m_tableName;
183
184 Aws::String m_indexName;
185
186 Aws::Vector<Aws::String> m_contributorInsightsRuleList;
187
189
190 Aws::Utils::DateTime m_lastUpdateDateTime{};
191
192 FailureException m_failureException;
193
195
196 Aws::String m_requestId;
197 bool m_tableNameHasBeenSet = false;
198 bool m_indexNameHasBeenSet = false;
199 bool m_contributorInsightsRuleListHasBeenSet = false;
200 bool m_contributorInsightsStatusHasBeenSet = false;
201 bool m_lastUpdateDateTimeHasBeenSet = false;
202 bool m_failureExceptionHasBeenSet = false;
203 bool m_contributorInsightsModeHasBeenSet = false;
204 bool m_requestIdHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace DynamoDB
209} // 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