AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnsuccessfulFaceDeletion.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/UnsuccessfulFaceDeletionReason.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 UnsuccessfulFaceDeletion();
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 UnsuccessfulFaceDeletion& WithFaceId(const Aws::String& value) { SetFaceId(value); return *this;}
53 inline UnsuccessfulFaceDeletion& WithFaceId(Aws::String&& value) { SetFaceId(std::move(value)); return *this;}
54 inline UnsuccessfulFaceDeletion& 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 UnsuccessfulFaceDeletion& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
67 inline UnsuccessfulFaceDeletion& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
68 inline UnsuccessfulFaceDeletion& WithUserId(const char* value) { SetUserId(value); return *this;}
70
72
75 inline const Aws::Vector<UnsuccessfulFaceDeletionReason>& GetReasons() const{ return m_reasons; }
76 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
77 inline void SetReasons(const Aws::Vector<UnsuccessfulFaceDeletionReason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
78 inline void SetReasons(Aws::Vector<UnsuccessfulFaceDeletionReason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
81 inline UnsuccessfulFaceDeletion& AddReasons(const UnsuccessfulFaceDeletionReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
82 inline UnsuccessfulFaceDeletion& AddReasons(UnsuccessfulFaceDeletionReason&& 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
UnsuccessfulFaceDeletion & WithFaceId(const Aws::String &value)
AWS_REKOGNITION_API UnsuccessfulFaceDeletion(Aws::Utils::Json::JsonView jsonValue)
void SetReasons(Aws::Vector< UnsuccessfulFaceDeletionReason > &&value)
AWS_REKOGNITION_API UnsuccessfulFaceDeletion & operator=(Aws::Utils::Json::JsonView jsonValue)
UnsuccessfulFaceDeletion & WithUserId(const char *value)
void SetReasons(const Aws::Vector< UnsuccessfulFaceDeletionReason > &value)
UnsuccessfulFaceDeletion & WithUserId(const Aws::String &value)
UnsuccessfulFaceDeletion & WithReasons(const Aws::Vector< UnsuccessfulFaceDeletionReason > &value)
UnsuccessfulFaceDeletion & WithFaceId(const char *value)
UnsuccessfulFaceDeletion & AddReasons(const UnsuccessfulFaceDeletionReason &value)
UnsuccessfulFaceDeletion & WithFaceId(Aws::String &&value)
UnsuccessfulFaceDeletion & WithReasons(Aws::Vector< UnsuccessfulFaceDeletionReason > &&value)
UnsuccessfulFaceDeletion & AddReasons(UnsuccessfulFaceDeletionReason &&value)
UnsuccessfulFaceDeletion & WithUserId(Aws::String &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< UnsuccessfulFaceDeletionReason > & GetReasons() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue