AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DynamoDB
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DYNAMODB_API DescribeContributorInsightsResult() = default;
37
38
40
43 inline const Aws::String& GetTableName() const { return m_tableName; }
44 template<typename TableNameT = Aws::String>
45 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
46 template<typename TableNameT = Aws::String>
47 DescribeContributorInsightsResult& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetIndexName() const { return m_indexName; }
55 template<typename IndexNameT = Aws::String>
56 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
57 template<typename IndexNameT = Aws::String>
58 DescribeContributorInsightsResult& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
60
62
65 inline const Aws::Vector<Aws::String>& GetContributorInsightsRuleList() const { return m_contributorInsightsRuleList; }
66 template<typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
67 void SetContributorInsightsRuleList(ContributorInsightsRuleListT&& value) { m_contributorInsightsRuleListHasBeenSet = true; m_contributorInsightsRuleList = std::forward<ContributorInsightsRuleListT>(value); }
68 template<typename ContributorInsightsRuleListT = Aws::Vector<Aws::String>>
69 DescribeContributorInsightsResult& WithContributorInsightsRuleList(ContributorInsightsRuleListT&& value) { SetContributorInsightsRuleList(std::forward<ContributorInsightsRuleListT>(value)); return *this;}
70 template<typename ContributorInsightsRuleListT = Aws::String>
71 DescribeContributorInsightsResult& AddContributorInsightsRuleList(ContributorInsightsRuleListT&& value) { m_contributorInsightsRuleListHasBeenSet = true; m_contributorInsightsRuleList.emplace_back(std::forward<ContributorInsightsRuleListT>(value)); return *this; }
73
75
78 inline ContributorInsightsStatus GetContributorInsightsStatus() const { return m_contributorInsightsStatus; }
79 inline void SetContributorInsightsStatus(ContributorInsightsStatus value) { m_contributorInsightsStatusHasBeenSet = true; m_contributorInsightsStatus = value; }
82
84
87 inline const Aws::Utils::DateTime& GetLastUpdateDateTime() const { return m_lastUpdateDateTime; }
88 template<typename LastUpdateDateTimeT = Aws::Utils::DateTime>
89 void SetLastUpdateDateTime(LastUpdateDateTimeT&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::forward<LastUpdateDateTimeT>(value); }
90 template<typename LastUpdateDateTimeT = Aws::Utils::DateTime>
91 DescribeContributorInsightsResult& WithLastUpdateDateTime(LastUpdateDateTimeT&& value) { SetLastUpdateDateTime(std::forward<LastUpdateDateTimeT>(value)); return *this;}
93
95
108 inline const FailureException& GetFailureException() const { return m_failureException; }
109 template<typename FailureExceptionT = FailureException>
110 void SetFailureException(FailureExceptionT&& value) { m_failureExceptionHasBeenSet = true; m_failureException = std::forward<FailureExceptionT>(value); }
111 template<typename FailureExceptionT = FailureException>
112 DescribeContributorInsightsResult& WithFailureException(FailureExceptionT&& value) { SetFailureException(std::forward<FailureExceptionT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 DescribeContributorInsightsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_tableName;
126 bool m_tableNameHasBeenSet = false;
127
128 Aws::String m_indexName;
129 bool m_indexNameHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_contributorInsightsRuleList;
132 bool m_contributorInsightsRuleListHasBeenSet = false;
133
135 bool m_contributorInsightsStatusHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdateDateTime{};
138 bool m_lastUpdateDateTimeHasBeenSet = false;
139
140 FailureException m_failureException;
141 bool m_failureExceptionHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace DynamoDB
149} // 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)
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