AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
DescribeContributorInsightsResult.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/model/ContributorInsightsStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/dynamodb/model/FailureException.h>
13#include <aws/dynamodb/model/ContributorInsightsMode.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DynamoDB
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DYNAMODB_API DescribeContributorInsightsResult() = default;
38
39
41
44 inline const Aws::String& GetTableName() const { return m_tableName; }
45 template<typename TableNameT = Aws::String>
46 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
47 template<typename TableNameT = Aws::String>
48 DescribeContributorInsightsResult& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetIndexName() const { return m_indexName; }
56 template<typename IndexNameT = Aws::String>
57 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
58 template<typename IndexNameT = Aws::String>
59 DescribeContributorInsightsResult& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetContributorInsightsRuleList() const { return m_contributorInsightsRuleList; }
67 template<typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
68 void SetContributorInsightsRuleList(ContributorInsightsRuleListT&& value) { m_contributorInsightsRuleListHasBeenSet = true; m_contributorInsightsRuleList = std::forward<ContributorInsightsRuleListT>(value); }
69 template<typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
70 DescribeContributorInsightsResult& WithContributorInsightsRuleList(ContributorInsightsRuleListT&& value) { SetContributorInsightsRuleList(std::forward<ContributorInsightsRuleListT>(value)); return *this;}
71 template<typename ContributorInsightsRuleListT = Aws::String>
72 DescribeContributorInsightsResult& AddContributorInsightsRuleList(ContributorInsightsRuleListT&& value) { m_contributorInsightsRuleListHasBeenSet = true; m_contributorInsightsRuleList.emplace_back(std::forward<ContributorInsightsRuleListT>(value)); return *this; }
74
76
79 inline ContributorInsightsStatus GetContributorInsightsStatus() const { return m_contributorInsightsStatus; }
80 inline void SetContributorInsightsStatus(ContributorInsightsStatus value) { m_contributorInsightsStatusHasBeenSet = true; m_contributorInsightsStatus = value; }
83
85
88 inline const Aws::Utils::DateTime& GetLastUpdateDateTime() const { return m_lastUpdateDateTime; }
89 template<typename LastUpdateDateTimeT = Aws::Utils::DateTime>
90 void SetLastUpdateDateTime(LastUpdateDateTimeT&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::forward<LastUpdateDateTimeT>(value); }
91 template<typename LastUpdateDateTimeT = Aws::Utils::DateTime>
92 DescribeContributorInsightsResult& WithLastUpdateDateTime(LastUpdateDateTimeT&& value) { SetLastUpdateDateTime(std::forward<LastUpdateDateTimeT>(value)); return *this;}
94
96
109 inline const FailureException& GetFailureException() const { return m_failureException; }
110 template<typename FailureExceptionT = FailureException>
111 void SetFailureException(FailureExceptionT&& value) { m_failureExceptionHasBeenSet = true; m_failureException = std::forward<FailureExceptionT>(value); }
112 template<typename FailureExceptionT = FailureException>
113 DescribeContributorInsightsResult& WithFailureException(FailureExceptionT&& value) { SetFailureException(std::forward<FailureExceptionT>(value)); return *this;}
115
117
122 inline ContributorInsightsMode GetContributorInsightsMode() const { return m_contributorInsightsMode; }
123 inline void SetContributorInsightsMode(ContributorInsightsMode value) { m_contributorInsightsModeHasBeenSet = true; m_contributorInsightsMode = value; }
126
128
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template<typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
132 template<typename RequestIdT = Aws::String>
133 DescribeContributorInsightsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
135 private:
136
137 Aws::String m_tableName;
138 bool m_tableNameHasBeenSet = false;
139
140 Aws::String m_indexName;
141 bool m_indexNameHasBeenSet = false;
142
143 Aws::Vector<Aws::String> m_contributorInsightsRuleList;
144 bool m_contributorInsightsRuleListHasBeenSet = false;
145
147 bool m_contributorInsightsStatusHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdateDateTime{};
150 bool m_lastUpdateDateTimeHasBeenSet = false;
151
152 FailureException m_failureException;
153 bool m_failureExceptionHasBeenSet = false;
154
156 bool m_contributorInsightsModeHasBeenSet = false;
157
158 Aws::String m_requestId;
159 bool m_requestIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace DynamoDB
164} // 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