AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
UnsuccessfulFaceDisassociation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/UnsuccessfulFaceDisassociationReason.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition {
22namespace Model {
23
31 public:
32 AWS_REKOGNITION_API UnsuccessfulFaceDisassociation() = default;
35 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFaceId() const { return m_faceId; }
42 inline bool FaceIdHasBeenSet() const { return m_faceIdHasBeenSet; }
43 template <typename FaceIdT = Aws::String>
44 void SetFaceId(FaceIdT&& value) {
45 m_faceIdHasBeenSet = true;
46 m_faceId = std::forward<FaceIdT>(value);
47 }
48 template <typename FaceIdT = Aws::String>
50 SetFaceId(std::forward<FaceIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetUserId() const { return m_userId; }
60 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
61 template <typename UserIdT = Aws::String>
62 void SetUserId(UserIdT&& value) {
63 m_userIdHasBeenSet = true;
64 m_userId = std::forward<UserIdT>(value);
65 }
66 template <typename UserIdT = Aws::String>
68 SetUserId(std::forward<UserIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<UnsuccessfulFaceDisassociationReason>& GetReasons() const { return m_reasons; }
78 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
79 template <typename ReasonsT = Aws::Vector<UnsuccessfulFaceDisassociationReason>>
80 void SetReasons(ReasonsT&& value) {
81 m_reasonsHasBeenSet = true;
82 m_reasons = std::forward<ReasonsT>(value);
83 }
84 template <typename ReasonsT = Aws::Vector<UnsuccessfulFaceDisassociationReason>>
86 SetReasons(std::forward<ReasonsT>(value));
87 return *this;
88 }
90 m_reasonsHasBeenSet = true;
91 m_reasons.push_back(value);
92 return *this;
93 }
95 private:
96 Aws::String m_faceId;
97 bool m_faceIdHasBeenSet = false;
98
99 Aws::String m_userId;
100 bool m_userIdHasBeenSet = false;
101
103 bool m_reasonsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Rekognition
108} // namespace Aws
const Aws::Vector< UnsuccessfulFaceDisassociationReason > & GetReasons() const
AWS_REKOGNITION_API UnsuccessfulFaceDisassociation()=default
AWS_REKOGNITION_API UnsuccessfulFaceDisassociation & operator=(Aws::Utils::Json::JsonView jsonValue)
UnsuccessfulFaceDisassociation & AddReasons(UnsuccessfulFaceDisassociationReason value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
UnsuccessfulFaceDisassociation & WithUserId(UserIdT &&value)
UnsuccessfulFaceDisassociation & WithFaceId(FaceIdT &&value)
AWS_REKOGNITION_API UnsuccessfulFaceDisassociation(Aws::Utils::Json::JsonView jsonValue)
UnsuccessfulFaceDisassociation & WithReasons(ReasonsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue