AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnsuccessfulFaceDisassociation.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/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/UnsuccessfulFaceDisassociationReason.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_REKOGNITION_API UnsuccessfulFaceDisassociation();
40 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFaceId() const{ return m_faceId; }
48 inline bool FaceIdHasBeenSet() const { return m_faceIdHasBeenSet; }
49 inline void SetFaceId(const Aws::String& value) { m_faceIdHasBeenSet = true; m_faceId = value; }
50 inline void SetFaceId(Aws::String&& value) { m_faceIdHasBeenSet = true; m_faceId = std::move(value); }
51 inline void SetFaceId(const char* value) { m_faceIdHasBeenSet = true; m_faceId.assign(value); }
52 inline UnsuccessfulFaceDisassociation& WithFaceId(const Aws::String& value) { SetFaceId(value); return *this;}
53 inline UnsuccessfulFaceDisassociation& WithFaceId(Aws::String&& value) { SetFaceId(std::move(value)); return *this;}
54 inline UnsuccessfulFaceDisassociation& WithFaceId(const char* value) { SetFaceId(value); return *this;}
56
58
61 inline const Aws::String& GetUserId() const{ return m_userId; }
62 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
63 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
64 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
65 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
66 inline UnsuccessfulFaceDisassociation& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
67 inline UnsuccessfulFaceDisassociation& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
68 inline UnsuccessfulFaceDisassociation& WithUserId(const char* value) { SetUserId(value); return *this;}
70
72
75 inline const Aws::Vector<UnsuccessfulFaceDisassociationReason>& GetReasons() const{ return m_reasons; }
76 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
77 inline void SetReasons(const Aws::Vector<UnsuccessfulFaceDisassociationReason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
78 inline void SetReasons(Aws::Vector<UnsuccessfulFaceDisassociationReason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
81 inline UnsuccessfulFaceDisassociation& AddReasons(const UnsuccessfulFaceDisassociationReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
82 inline UnsuccessfulFaceDisassociation& AddReasons(UnsuccessfulFaceDisassociationReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_faceId;
87 bool m_faceIdHasBeenSet = false;
88
89 Aws::String m_userId;
90 bool m_userIdHasBeenSet = false;
91
93 bool m_reasonsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Rekognition
98} // namespace Aws
UnsuccessfulFaceDisassociation & WithFaceId(const char *value)
UnsuccessfulFaceDisassociation & WithUserId(const Aws::String &value)
UnsuccessfulFaceDisassociation & AddReasons(const UnsuccessfulFaceDisassociationReason &value)
UnsuccessfulFaceDisassociation & WithReasons(const Aws::Vector< UnsuccessfulFaceDisassociationReason > &value)
UnsuccessfulFaceDisassociation & WithFaceId(Aws::String &&value)
const Aws::Vector< UnsuccessfulFaceDisassociationReason > & GetReasons() const
UnsuccessfulFaceDisassociation & WithFaceId(const Aws::String &value)
UnsuccessfulFaceDisassociation & WithUserId(Aws::String &&value)
UnsuccessfulFaceDisassociation & AddReasons(UnsuccessfulFaceDisassociationReason &&value)
AWS_REKOGNITION_API UnsuccessfulFaceDisassociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReasons(const Aws::Vector< UnsuccessfulFaceDisassociationReason > &value)
void SetReasons(Aws::Vector< UnsuccessfulFaceDisassociationReason > &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
UnsuccessfulFaceDisassociation & WithUserId(const char *value)
AWS_REKOGNITION_API UnsuccessfulFaceDisassociation(Aws::Utils::Json::JsonView jsonValue)
UnsuccessfulFaceDisassociation & WithReasons(Aws::Vector< UnsuccessfulFaceDisassociationReason > &&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