AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
DescribeCollectionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition {
24namespace Model {
26 public:
27 AWS_REKOGNITION_API DescribeCollectionResult() = default;
30
32
36 inline long long GetFaceCount() const { return m_faceCount; }
37 inline void SetFaceCount(long long value) {
38 m_faceCountHasBeenSet = true;
39 m_faceCount = value;
40 }
41 inline DescribeCollectionResult& WithFaceCount(long long value) {
42 SetFaceCount(value);
43 return *this;
44 }
46
48
53 inline const Aws::String& GetFaceModelVersion() const { return m_faceModelVersion; }
54 template <typename FaceModelVersionT = Aws::String>
55 void SetFaceModelVersion(FaceModelVersionT&& value) {
56 m_faceModelVersionHasBeenSet = true;
57 m_faceModelVersion = std::forward<FaceModelVersionT>(value);
58 }
59 template <typename FaceModelVersionT = Aws::String>
60 DescribeCollectionResult& WithFaceModelVersion(FaceModelVersionT&& value) {
61 SetFaceModelVersion(std::forward<FaceModelVersionT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetCollectionARN() const { return m_collectionARN; }
71 template <typename CollectionARNT = Aws::String>
72 void SetCollectionARN(CollectionARNT&& value) {
73 m_collectionARNHasBeenSet = true;
74 m_collectionARN = std::forward<CollectionARNT>(value);
75 }
76 template <typename CollectionARNT = Aws::String>
78 SetCollectionARN(std::forward<CollectionARNT>(value));
79 return *this;
80 }
82
84
89 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
90 template <typename CreationTimestampT = Aws::Utils::DateTime>
91 void SetCreationTimestamp(CreationTimestampT&& value) {
92 m_creationTimestampHasBeenSet = true;
93 m_creationTimestamp = std::forward<CreationTimestampT>(value);
94 }
95 template <typename CreationTimestampT = Aws::Utils::DateTime>
96 DescribeCollectionResult& WithCreationTimestamp(CreationTimestampT&& value) {
97 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
98 return *this;
99 }
101
103
106 inline long long GetUserCount() const { return m_userCount; }
107 inline void SetUserCount(long long value) {
108 m_userCountHasBeenSet = true;
109 m_userCount = value;
110 }
111 inline DescribeCollectionResult& WithUserCount(long long value) {
112 SetUserCount(value);
113 return *this;
114 }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template <typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) {
122 m_requestIdHasBeenSet = true;
123 m_requestId = std::forward<RequestIdT>(value);
124 }
125 template <typename RequestIdT = Aws::String>
127 SetRequestId(std::forward<RequestIdT>(value));
128 return *this;
129 }
131 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
132
133 private:
134 long long m_faceCount{0};
135
136 Aws::String m_faceModelVersion;
137
138 Aws::String m_collectionARN;
139
140 Aws::Utils::DateTime m_creationTimestamp{};
141
142 long long m_userCount{0};
143
144 Aws::String m_requestId;
145 Aws::Http::HttpResponseCode m_HttpResponseCode;
146 bool m_faceCountHasBeenSet = false;
147 bool m_faceModelVersionHasBeenSet = false;
148 bool m_collectionARNHasBeenSet = false;
149 bool m_creationTimestampHasBeenSet = false;
150 bool m_userCountHasBeenSet = false;
151 bool m_requestIdHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace Rekognition
156} // 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