AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SearchPredefinedAttributesResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/PredefinedAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECT_API SearchPredefinedAttributesResult() = default;
35
36
38
41 inline const Aws::Vector<PredefinedAttribute>& GetPredefinedAttributes() const { return m_predefinedAttributes; }
42 template<typename PredefinedAttributesT = Aws::Vector<PredefinedAttribute>>
43 void SetPredefinedAttributes(PredefinedAttributesT&& value) { m_predefinedAttributesHasBeenSet = true; m_predefinedAttributes = std::forward<PredefinedAttributesT>(value); }
44 template<typename PredefinedAttributesT = Aws::Vector<PredefinedAttribute>>
45 SearchPredefinedAttributesResult& WithPredefinedAttributes(PredefinedAttributesT&& value) { SetPredefinedAttributes(std::forward<PredefinedAttributesT>(value)); return *this;}
46 template<typename PredefinedAttributesT = PredefinedAttribute>
47 SearchPredefinedAttributesResult& AddPredefinedAttributes(PredefinedAttributesT&& value) { m_predefinedAttributesHasBeenSet = true; m_predefinedAttributes.emplace_back(std::forward<PredefinedAttributesT>(value)); return *this; }
49
51
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 SearchPredefinedAttributesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
67 inline long long GetApproximateTotalCount() const { return m_approximateTotalCount; }
68 inline void SetApproximateTotalCount(long long value) { m_approximateTotalCountHasBeenSet = true; m_approximateTotalCount = value; }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 SearchPredefinedAttributesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::Vector<PredefinedAttribute> m_predefinedAttributes;
83 bool m_predefinedAttributesHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87
88 long long m_approximateTotalCount{0};
89 bool m_approximateTotalCountHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Connect
97} // 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