AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateCollectionResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition
24{
25namespace Model
26{
28 {
29 public:
30 AWS_REKOGNITION_API CreateCollectionResult() = default;
33
34
36
39 inline int GetStatusCode() const { return m_statusCode; }
40 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
41 inline CreateCollectionResult& WithStatusCode(int value) { SetStatusCode(value); return *this;}
43
45
49 inline const Aws::String& GetCollectionArn() const { return m_collectionArn; }
50 template<typename CollectionArnT = Aws::String>
51 void SetCollectionArn(CollectionArnT&& value) { m_collectionArnHasBeenSet = true; m_collectionArn = std::forward<CollectionArnT>(value); }
52 template<typename CollectionArnT = Aws::String>
53 CreateCollectionResult& WithCollectionArn(CollectionArnT&& value) { SetCollectionArn(std::forward<CollectionArnT>(value)); return *this;}
55
57
61 inline const Aws::String& GetFaceModelVersion() const { return m_faceModelVersion; }
62 template<typename FaceModelVersionT = Aws::String>
63 void SetFaceModelVersion(FaceModelVersionT&& value) { m_faceModelVersionHasBeenSet = true; m_faceModelVersion = std::forward<FaceModelVersionT>(value); }
64 template<typename FaceModelVersionT = Aws::String>
65 CreateCollectionResult& WithFaceModelVersion(FaceModelVersionT&& value) { SetFaceModelVersion(std::forward<FaceModelVersionT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 CreateCollectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 int m_statusCode{0};
79 bool m_statusCodeHasBeenSet = false;
80
81 Aws::String m_collectionArn;
82 bool m_collectionArnHasBeenSet = false;
83
84 Aws::String m_faceModelVersion;
85 bool m_faceModelVersionHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Rekognition
93} // namespace Aws
CreateCollectionResult & WithRequestId(RequestIdT &&value)
CreateCollectionResult & WithStatusCode(int value)
AWS_REKOGNITION_API CreateCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCollectionResult & WithFaceModelVersion(FaceModelVersionT &&value)
AWS_REKOGNITION_API CreateCollectionResult()=default
CreateCollectionResult & WithCollectionArn(CollectionArnT &&value)
AWS_REKOGNITION_API CreateCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue