AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListCollectionsResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Rekognition
25{
26namespace Model
27{
29 {
30 public:
31 AWS_REKOGNITION_API ListCollectionsResult() = default;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetCollectionIds() const { return m_collectionIds; }
41 template<typename CollectionIdsT = Aws::Vector<Aws::String>>
42 void SetCollectionIds(CollectionIdsT&& value) { m_collectionIdsHasBeenSet = true; m_collectionIds = std::forward<CollectionIdsT>(value); }
43 template<typename CollectionIdsT = Aws::Vector<Aws::String>>
44 ListCollectionsResult& WithCollectionIds(CollectionIdsT&& value) { SetCollectionIds(std::forward<CollectionIdsT>(value)); return *this;}
45 template<typename CollectionIdsT = Aws::String>
46 ListCollectionsResult& AddCollectionIds(CollectionIdsT&& value) { m_collectionIdsHasBeenSet = true; m_collectionIds.emplace_back(std::forward<CollectionIdsT>(value)); return *this; }
48
50
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 ListCollectionsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
69 inline const Aws::Vector<Aws::String>& GetFaceModelVersions() const { return m_faceModelVersions; }
70 template<typename FaceModelVersionsT = Aws::Vector<Aws::String>>
71 void SetFaceModelVersions(FaceModelVersionsT&& value) { m_faceModelVersionsHasBeenSet = true; m_faceModelVersions = std::forward<FaceModelVersionsT>(value); }
72 template<typename FaceModelVersionsT = Aws::Vector<Aws::String>>
73 ListCollectionsResult& WithFaceModelVersions(FaceModelVersionsT&& value) { SetFaceModelVersions(std::forward<FaceModelVersionsT>(value)); return *this;}
74 template<typename FaceModelVersionsT = Aws::String>
75 ListCollectionsResult& AddFaceModelVersions(FaceModelVersionsT&& value) { m_faceModelVersionsHasBeenSet = true; m_faceModelVersions.emplace_back(std::forward<FaceModelVersionsT>(value)); return *this; }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 ListCollectionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
88 Aws::Vector<Aws::String> m_collectionIds;
89 bool m_collectionIdsHasBeenSet = false;
90
91 Aws::String m_nextToken;
92 bool m_nextTokenHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_faceModelVersions;
95 bool m_faceModelVersionsHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Rekognition
103} // 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