AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ListCollectionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition {
23namespace Model {
25 public:
26 AWS_REKOGNITION_API ListCollectionsResult() = default;
29
31
34 inline const Aws::Vector<Aws::String>& GetCollectionIds() const { return m_collectionIds; }
35 template <typename CollectionIdsT = Aws::Vector<Aws::String>>
36 void SetCollectionIds(CollectionIdsT&& value) {
37 m_collectionIdsHasBeenSet = true;
38 m_collectionIds = std::forward<CollectionIdsT>(value);
39 }
40 template <typename CollectionIdsT = Aws::Vector<Aws::String>>
41 ListCollectionsResult& WithCollectionIds(CollectionIdsT&& value) {
42 SetCollectionIds(std::forward<CollectionIdsT>(value));
43 return *this;
44 }
45 template <typename CollectionIdsT = Aws::String>
46 ListCollectionsResult& AddCollectionIds(CollectionIdsT&& value) {
47 m_collectionIdsHasBeenSet = true;
48 m_collectionIds.emplace_back(std::forward<CollectionIdsT>(value));
49 return *this;
50 }
52
54
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>
66 ListCollectionsResult& WithNextToken(NextTokenT&& value) {
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
79 inline const Aws::Vector<Aws::String>& GetFaceModelVersions() const { return m_faceModelVersions; }
80 template <typename FaceModelVersionsT = Aws::Vector<Aws::String>>
81 void SetFaceModelVersions(FaceModelVersionsT&& value) {
82 m_faceModelVersionsHasBeenSet = true;
83 m_faceModelVersions = std::forward<FaceModelVersionsT>(value);
84 }
85 template <typename FaceModelVersionsT = Aws::Vector<Aws::String>>
86 ListCollectionsResult& WithFaceModelVersions(FaceModelVersionsT&& value) {
87 SetFaceModelVersions(std::forward<FaceModelVersionsT>(value));
88 return *this;
89 }
90 template <typename FaceModelVersionsT = Aws::String>
91 ListCollectionsResult& AddFaceModelVersions(FaceModelVersionsT&& value) {
92 m_faceModelVersionsHasBeenSet = true;
93 m_faceModelVersions.emplace_back(std::forward<FaceModelVersionsT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 private:
113 Aws::Vector<Aws::String> m_collectionIds;
114
115 Aws::String m_nextToken;
116
117 Aws::Vector<Aws::String> m_faceModelVersions;
118
119 Aws::String m_requestId;
120 bool m_collectionIdsHasBeenSet = false;
121 bool m_nextTokenHasBeenSet = false;
122 bool m_faceModelVersionsHasBeenSet = false;
123 bool m_requestIdHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Rekognition
128} // namespace Aws
AWS_REKOGNITION_API ListCollectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListCollectionsResult & AddCollectionIds(CollectionIdsT &&value)
ListCollectionsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetFaceModelVersions() const
ListCollectionsResult & WithCollectionIds(CollectionIdsT &&value)
AWS_REKOGNITION_API ListCollectionsResult()=default
AWS_REKOGNITION_API ListCollectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetCollectionIds() const
ListCollectionsResult & WithFaceModelVersions(FaceModelVersionsT &&value)
void SetFaceModelVersions(FaceModelVersionsT &&value)
ListCollectionsResult & WithNextToken(NextTokenT &&value)
ListCollectionsResult & AddFaceModelVersions(FaceModelVersionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue