AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::Vector<Aws::String>& GetCollectionIds() const{ return m_collectionIds; }
41 inline void SetCollectionIds(const Aws::Vector<Aws::String>& value) { m_collectionIds = value; }
42 inline void SetCollectionIds(Aws::Vector<Aws::String>&& value) { m_collectionIds = std::move(value); }
44 inline ListCollectionsResult& WithCollectionIds(Aws::Vector<Aws::String>&& value) { SetCollectionIds(std::move(value)); return *this;}
45 inline ListCollectionsResult& AddCollectionIds(const Aws::String& value) { m_collectionIds.push_back(value); return *this; }
46 inline ListCollectionsResult& AddCollectionIds(Aws::String&& value) { m_collectionIds.push_back(std::move(value)); return *this; }
47 inline ListCollectionsResult& AddCollectionIds(const char* value) { m_collectionIds.push_back(value); return *this; }
49
51
56 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
57 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 inline ListCollectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline ListCollectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline ListCollectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64
66
72 inline const Aws::Vector<Aws::String>& GetFaceModelVersions() const{ return m_faceModelVersions; }
73 inline void SetFaceModelVersions(const Aws::Vector<Aws::String>& value) { m_faceModelVersions = value; }
74 inline void SetFaceModelVersions(Aws::Vector<Aws::String>&& value) { m_faceModelVersions = std::move(value); }
77 inline ListCollectionsResult& AddFaceModelVersions(const Aws::String& value) { m_faceModelVersions.push_back(value); return *this; }
78 inline ListCollectionsResult& AddFaceModelVersions(Aws::String&& value) { m_faceModelVersions.push_back(std::move(value)); return *this; }
79 inline ListCollectionsResult& AddFaceModelVersions(const char* value) { m_faceModelVersions.push_back(value); return *this; }
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline ListCollectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline ListCollectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline ListCollectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::Vector<Aws::String> m_collectionIds;
95
96 Aws::String m_nextToken;
97
98 Aws::Vector<Aws::String> m_faceModelVersions;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace Rekognition
105} // namespace Aws
ListCollectionsResult & WithCollectionIds(Aws::Vector< Aws::String > &&value)
AWS_REKOGNITION_API ListCollectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListCollectionsResult & WithNextToken(const Aws::String &value)
void SetFaceModelVersions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFaceModelVersions() const
ListCollectionsResult & WithFaceModelVersions(Aws::Vector< Aws::String > &&value)
ListCollectionsResult & AddFaceModelVersions(Aws::String &&value)
ListCollectionsResult & WithCollectionIds(const Aws::Vector< Aws::String > &value)
ListCollectionsResult & WithNextToken(Aws::String &&value)
AWS_REKOGNITION_API ListCollectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListCollectionsResult & WithRequestId(Aws::String &&value)
ListCollectionsResult & WithRequestId(const char *value)
ListCollectionsResult & WithFaceModelVersions(const Aws::Vector< Aws::String > &value)
ListCollectionsResult & AddFaceModelVersions(const char *value)
const Aws::Vector< Aws::String > & GetCollectionIds() const
void SetFaceModelVersions(const Aws::Vector< Aws::String > &value)
ListCollectionsResult & AddFaceModelVersions(const Aws::String &value)
ListCollectionsResult & WithRequestId(const Aws::String &value)
ListCollectionsResult & WithNextToken(const char *value)
void SetCollectionIds(Aws::Vector< Aws::String > &&value)
ListCollectionsResult & AddCollectionIds(const char *value)
void SetCollectionIds(const Aws::Vector< Aws::String > &value)
ListCollectionsResult & AddCollectionIds(Aws::String &&value)
ListCollectionsResult & AddCollectionIds(const Aws::String &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