AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SearchEvaluationFormsResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationFormSearchSummary.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.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 Connect {
25namespace Model {
27 public:
28 AWS_CONNECT_API SearchEvaluationFormsResult() = default;
31
33
37 return m_evaluationFormSearchSummaryList;
38 }
39 template <typename EvaluationFormSearchSummaryListT = Aws::Vector<EvaluationFormSearchSummary>>
40 void SetEvaluationFormSearchSummaryList(EvaluationFormSearchSummaryListT&& value) {
41 m_evaluationFormSearchSummaryListHasBeenSet = true;
42 m_evaluationFormSearchSummaryList = std::forward<EvaluationFormSearchSummaryListT>(value);
43 }
44 template <typename EvaluationFormSearchSummaryListT = Aws::Vector<EvaluationFormSearchSummary>>
45 SearchEvaluationFormsResult& WithEvaluationFormSearchSummaryList(EvaluationFormSearchSummaryListT&& value) {
46 SetEvaluationFormSearchSummaryList(std::forward<EvaluationFormSearchSummaryListT>(value));
47 return *this;
48 }
49 template <typename EvaluationFormSearchSummaryListT = EvaluationFormSearchSummary>
50 SearchEvaluationFormsResult& AddEvaluationFormSearchSummaryList(EvaluationFormSearchSummaryListT&& value) {
51 m_evaluationFormSearchSummaryListHasBeenSet = true;
52 m_evaluationFormSearchSummaryList.emplace_back(std::forward<EvaluationFormSearchSummaryListT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 template <typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) {
65 m_nextTokenHasBeenSet = true;
66 m_nextToken = std::forward<NextTokenT>(value);
67 }
68 template <typename NextTokenT = Aws::String>
70 SetNextToken(std::forward<NextTokenT>(value));
71 return *this;
72 }
74
76
79 inline long long GetApproximateTotalCount() const { return m_approximateTotalCount; }
80 inline void SetApproximateTotalCount(long long value) {
81 m_approximateTotalCountHasBeenSet = true;
82 m_approximateTotalCount = value;
83 }
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::Vector<EvaluationFormSearchSummary> m_evaluationFormSearchSummaryList;
108
109 Aws::String m_nextToken;
110
111 long long m_approximateTotalCount{0};
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_evaluationFormSearchSummaryListHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_approximateTotalCountHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Connect
123} // namespace Aws
SearchEvaluationFormsResult & WithEvaluationFormSearchSummaryList(EvaluationFormSearchSummaryListT &&value)
SearchEvaluationFormsResult & WithApproximateTotalCount(long long value)
AWS_CONNECT_API SearchEvaluationFormsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchEvaluationFormsResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API SearchEvaluationFormsResult()=default
SearchEvaluationFormsResult & AddEvaluationFormSearchSummaryList(EvaluationFormSearchSummaryListT &&value)
AWS_CONNECT_API SearchEvaluationFormsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEvaluationFormSearchSummaryList(EvaluationFormSearchSummaryListT &&value)
SearchEvaluationFormsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< EvaluationFormSearchSummary > & GetEvaluationFormSearchSummaryList() 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