AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
39 inline int GetStatusCode() const{ return m_statusCode; }
40 inline void SetStatusCode(int value) { 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 inline void SetCollectionArn(const Aws::String& value) { m_collectionArn = value; }
51 inline void SetCollectionArn(Aws::String&& value) { m_collectionArn = std::move(value); }
52 inline void SetCollectionArn(const char* value) { m_collectionArn.assign(value); }
53 inline CreateCollectionResult& WithCollectionArn(const Aws::String& value) { SetCollectionArn(value); return *this;}
54 inline CreateCollectionResult& WithCollectionArn(Aws::String&& value) { SetCollectionArn(std::move(value)); return *this;}
55 inline CreateCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(value); return *this;}
57
59
63 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
64 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
65 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
66 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
67 inline CreateCollectionResult& WithFaceModelVersion(const Aws::String& value) { SetFaceModelVersion(value); return *this;}
68 inline CreateCollectionResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
69 inline CreateCollectionResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline CreateCollectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline CreateCollectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline CreateCollectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 int m_statusCode;
85
86 Aws::String m_collectionArn;
87
88 Aws::String m_faceModelVersion;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace Rekognition
95} // namespace Aws
CreateCollectionResult & WithCollectionArn(Aws::String &&value)
CreateCollectionResult & WithStatusCode(int value)
CreateCollectionResult & WithRequestId(const Aws::String &value)
CreateCollectionResult & WithFaceModelVersion(Aws::String &&value)
AWS_REKOGNITION_API CreateCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCollectionResult & WithRequestId(const char *value)
CreateCollectionResult & WithCollectionArn(const Aws::String &value)
CreateCollectionResult & WithFaceModelVersion(const char *value)
CreateCollectionResult & WithCollectionArn(const char *value)
CreateCollectionResult & WithRequestId(Aws::String &&value)
CreateCollectionResult & WithFaceModelVersion(const Aws::String &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