AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeCollectionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.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 DescribeCollectionResult() = default;
29
31
35 inline long long GetFaceCount() const { return m_faceCount; }
36 inline void SetFaceCount(long long value) {
37 m_faceCountHasBeenSet = true;
38 m_faceCount = value;
39 }
40 inline DescribeCollectionResult& WithFaceCount(long long value) {
41 SetFaceCount(value);
42 return *this;
43 }
45
47
52 inline const Aws::String& GetFaceModelVersion() const { return m_faceModelVersion; }
53 template <typename FaceModelVersionT = Aws::String>
54 void SetFaceModelVersion(FaceModelVersionT&& value) {
55 m_faceModelVersionHasBeenSet = true;
56 m_faceModelVersion = std::forward<FaceModelVersionT>(value);
57 }
58 template <typename FaceModelVersionT = Aws::String>
59 DescribeCollectionResult& WithFaceModelVersion(FaceModelVersionT&& value) {
60 SetFaceModelVersion(std::forward<FaceModelVersionT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetCollectionARN() const { return m_collectionARN; }
70 template <typename CollectionARNT = Aws::String>
71 void SetCollectionARN(CollectionARNT&& value) {
72 m_collectionARNHasBeenSet = true;
73 m_collectionARN = std::forward<CollectionARNT>(value);
74 }
75 template <typename CollectionARNT = Aws::String>
77 SetCollectionARN(std::forward<CollectionARNT>(value));
78 return *this;
79 }
81
83
88 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
89 template <typename CreationTimestampT = Aws::Utils::DateTime>
90 void SetCreationTimestamp(CreationTimestampT&& value) {
91 m_creationTimestampHasBeenSet = true;
92 m_creationTimestamp = std::forward<CreationTimestampT>(value);
93 }
94 template <typename CreationTimestampT = Aws::Utils::DateTime>
95 DescribeCollectionResult& WithCreationTimestamp(CreationTimestampT&& value) {
96 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
97 return *this;
98 }
100
102
105 inline long long GetUserCount() const { return m_userCount; }
106 inline void SetUserCount(long long value) {
107 m_userCountHasBeenSet = true;
108 m_userCount = value;
109 }
110 inline DescribeCollectionResult& WithUserCount(long long value) {
111 SetUserCount(value);
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 private:
131 long long m_faceCount{0};
132
133 Aws::String m_faceModelVersion;
134
135 Aws::String m_collectionARN;
136
137 Aws::Utils::DateTime m_creationTimestamp{};
138
139 long long m_userCount{0};
140
141 Aws::String m_requestId;
142 bool m_faceCountHasBeenSet = false;
143 bool m_faceModelVersionHasBeenSet = false;
144 bool m_collectionARNHasBeenSet = false;
145 bool m_creationTimestampHasBeenSet = false;
146 bool m_userCountHasBeenSet = false;
147 bool m_requestIdHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace Rekognition
152} // namespace Aws
DescribeCollectionResult & WithCreationTimestamp(CreationTimestampT &&value)
AWS_REKOGNITION_API DescribeCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REKOGNITION_API DescribeCollectionResult()=default
DescribeCollectionResult & WithCollectionARN(CollectionARNT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
AWS_REKOGNITION_API DescribeCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCollectionResult & WithFaceCount(long long value)
DescribeCollectionResult & WithUserCount(long long value)
DescribeCollectionResult & WithFaceModelVersion(FaceModelVersionT &&value)
DescribeCollectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue