AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SearchPredefinedAttributesResult.h
1
6#pragma once
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>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
26 public:
27 AWS_CONNECT_API SearchPredefinedAttributesResult() = default;
30
32
35 inline const Aws::Vector<PredefinedAttribute>& GetPredefinedAttributes() const { return m_predefinedAttributes; }
36 template <typename PredefinedAttributesT = Aws::Vector<PredefinedAttribute>>
37 void SetPredefinedAttributes(PredefinedAttributesT&& value) {
38 m_predefinedAttributesHasBeenSet = true;
39 m_predefinedAttributes = std::forward<PredefinedAttributesT>(value);
40 }
41 template <typename PredefinedAttributesT = Aws::Vector<PredefinedAttribute>>
43 SetPredefinedAttributes(std::forward<PredefinedAttributesT>(value));
44 return *this;
45 }
46 template <typename PredefinedAttributesT = PredefinedAttribute>
48 m_predefinedAttributesHasBeenSet = true;
49 m_predefinedAttributes.emplace_back(std::forward<PredefinedAttributesT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
77 inline long long GetApproximateTotalCount() const { return m_approximateTotalCount; }
78 inline void SetApproximateTotalCount(long long value) {
79 m_approximateTotalCountHasBeenSet = true;
80 m_approximateTotalCount = value;
81 }
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 Aws::Vector<PredefinedAttribute> m_predefinedAttributes;
104
105 Aws::String m_nextToken;
106
107 long long m_approximateTotalCount{0};
108
109 Aws::String m_requestId;
110 bool m_predefinedAttributesHasBeenSet = false;
111 bool m_nextTokenHasBeenSet = false;
112 bool m_approximateTotalCountHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Connect
118} // namespace Aws
SearchPredefinedAttributesResult & WithPredefinedAttributes(PredefinedAttributesT &&value)
AWS_CONNECT_API SearchPredefinedAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PredefinedAttribute > & GetPredefinedAttributes() const
SearchPredefinedAttributesResult & WithNextToken(NextTokenT &&value)
SearchPredefinedAttributesResult & AddPredefinedAttributes(PredefinedAttributesT &&value)
AWS_CONNECT_API SearchPredefinedAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchPredefinedAttributesResult & WithApproximateTotalCount(long long value)
SearchPredefinedAttributesResult & WithRequestId(RequestIdT &&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