AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeCollectionResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 DescribeCollectionResult() = default;
34
35
37
41 inline long long GetFaceCount() const { return m_faceCount; }
42 inline void SetFaceCount(long long value) { m_faceCountHasBeenSet = true; m_faceCount = value; }
43 inline DescribeCollectionResult& WithFaceCount(long long value) { SetFaceCount(value); return *this;}
45
47
52 inline const Aws::String& GetFaceModelVersion() const { return m_faceModelVersion; }
53 template<typename FaceModelVersionT = Aws::String>
54 void SetFaceModelVersion(FaceModelVersionT&& value) { m_faceModelVersionHasBeenSet = true; m_faceModelVersion = std::forward<FaceModelVersionT>(value); }
55 template<typename FaceModelVersionT = Aws::String>
56 DescribeCollectionResult& WithFaceModelVersion(FaceModelVersionT&& value) { SetFaceModelVersion(std::forward<FaceModelVersionT>(value)); return *this;}
58
60
63 inline const Aws::String& GetCollectionARN() const { return m_collectionARN; }
64 template<typename CollectionARNT = Aws::String>
65 void SetCollectionARN(CollectionARNT&& value) { m_collectionARNHasBeenSet = true; m_collectionARN = std::forward<CollectionARNT>(value); }
66 template<typename CollectionARNT = Aws::String>
67 DescribeCollectionResult& WithCollectionARN(CollectionARNT&& value) { SetCollectionARN(std::forward<CollectionARNT>(value)); return *this;}
69
71
76 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
77 template<typename CreationTimestampT = Aws::Utils::DateTime>
78 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
79 template<typename CreationTimestampT = Aws::Utils::DateTime>
80 DescribeCollectionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
82
84
87 inline long long GetUserCount() const { return m_userCount; }
88 inline void SetUserCount(long long value) { m_userCountHasBeenSet = true; m_userCount = value; }
89 inline DescribeCollectionResult& WithUserCount(long long value) { SetUserCount(value); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 DescribeCollectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 long long m_faceCount{0};
103 bool m_faceCountHasBeenSet = false;
104
105 Aws::String m_faceModelVersion;
106 bool m_faceModelVersionHasBeenSet = false;
107
108 Aws::String m_collectionARN;
109 bool m_collectionARNHasBeenSet = false;
110
111 Aws::Utils::DateTime m_creationTimestamp{};
112 bool m_creationTimestampHasBeenSet = false;
113
114 long long m_userCount{0};
115 bool m_userCountHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Rekognition
123} // 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