7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PredefinedAttribute.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename PredefinedAttributesT = Aws::Vector<PredefinedAttribute>>
38 m_predefinedAttributesHasBeenSet =
true;
39 m_predefinedAttributes = std::forward<PredefinedAttributesT>(value);
41 template <
typename PredefinedAttributesT = Aws::Vector<PredefinedAttribute>>
46 template <
typename PredefinedAttributesT = PredefinedAttribute>
48 m_predefinedAttributesHasBeenSet =
true;
49 m_predefinedAttributes.emplace_back(std::forward<PredefinedAttributesT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
79 m_approximateTotalCountHasBeenSet =
true;
80 m_approximateTotalCount = value;
91 template <
typename RequestIdT = Aws::String>
93 m_requestIdHasBeenSet =
true;
94 m_requestId = std::forward<RequestIdT>(value);
96 template <
typename RequestIdT = Aws::String>
107 long long m_approximateTotalCount{0};
110 bool m_predefinedAttributesHasBeenSet =
false;
111 bool m_nextTokenHasBeenSet =
false;
112 bool m_approximateTotalCountHasBeenSet =
false;
113 bool m_requestIdHasBeenSet =
false;
void SetApproximateTotalCount(long long value)
SearchPredefinedAttributesResult & WithPredefinedAttributes(PredefinedAttributesT &&value)
void SetRequestId(RequestIdT &&value)
void SetPredefinedAttributes(PredefinedAttributesT &&value)
AWS_CONNECT_API SearchPredefinedAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PredefinedAttribute > & GetPredefinedAttributes() const
const Aws::String & GetRequestId() const
SearchPredefinedAttributesResult & WithNextToken(NextTokenT &&value)
SearchPredefinedAttributesResult & AddPredefinedAttributes(PredefinedAttributesT &&value)
long long GetApproximateTotalCount() const
AWS_CONNECT_API SearchPredefinedAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchPredefinedAttributesResult & WithApproximateTotalCount(long long value)
const Aws::String & GetNextToken() const
SearchPredefinedAttributesResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_CONNECT_API SearchPredefinedAttributesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue