AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateFacesRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API DisassociateFacesRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisassociateFaces"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetCollectionId() const{ return m_collectionId; }
44 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
45 inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; }
46 inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); }
47 inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); }
48 inline DisassociateFacesRequest& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;}
49 inline DisassociateFacesRequest& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;}
50 inline DisassociateFacesRequest& WithCollectionId(const char* value) { SetCollectionId(value); return *this;}
52
54
57 inline const Aws::String& GetUserId() const{ return m_userId; }
58 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
59 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
60 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
61 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
62 inline DisassociateFacesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
63 inline DisassociateFacesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
64 inline DisassociateFacesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
66
68
75 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
76 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
77 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
78 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
79 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
81 inline DisassociateFacesRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
82 inline DisassociateFacesRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
84
86
89 inline const Aws::Vector<Aws::String>& GetFaceIds() const{ return m_faceIds; }
90 inline bool FaceIdsHasBeenSet() const { return m_faceIdsHasBeenSet; }
91 inline void SetFaceIds(const Aws::Vector<Aws::String>& value) { m_faceIdsHasBeenSet = true; m_faceIds = value; }
92 inline void SetFaceIds(Aws::Vector<Aws::String>&& value) { m_faceIdsHasBeenSet = true; m_faceIds = std::move(value); }
93 inline DisassociateFacesRequest& WithFaceIds(const Aws::Vector<Aws::String>& value) { SetFaceIds(value); return *this;}
94 inline DisassociateFacesRequest& WithFaceIds(Aws::Vector<Aws::String>&& value) { SetFaceIds(std::move(value)); return *this;}
95 inline DisassociateFacesRequest& AddFaceIds(const Aws::String& value) { m_faceIdsHasBeenSet = true; m_faceIds.push_back(value); return *this; }
96 inline DisassociateFacesRequest& AddFaceIds(Aws::String&& value) { m_faceIdsHasBeenSet = true; m_faceIds.push_back(std::move(value)); return *this; }
97 inline DisassociateFacesRequest& AddFaceIds(const char* value) { m_faceIdsHasBeenSet = true; m_faceIds.push_back(value); return *this; }
99 private:
100
101 Aws::String m_collectionId;
102 bool m_collectionIdHasBeenSet = false;
103
104 Aws::String m_userId;
105 bool m_userIdHasBeenSet = false;
106
107 Aws::String m_clientRequestToken;
108 bool m_clientRequestTokenHasBeenSet = false;
109
110 Aws::Vector<Aws::String> m_faceIds;
111 bool m_faceIdsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Rekognition
116} // namespace Aws
void SetFaceIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFaceIds() const
DisassociateFacesRequest & AddFaceIds(const Aws::String &value)
DisassociateFacesRequest & WithFaceIds(const Aws::Vector< Aws::String > &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateFacesRequest & WithUserId(Aws::String &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
DisassociateFacesRequest & WithUserId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DisassociateFacesRequest & WithClientRequestToken(const char *value)
void SetFaceIds(const Aws::Vector< Aws::String > &value)
DisassociateFacesRequest & WithUserId(const char *value)
DisassociateFacesRequest & WithCollectionId(const char *value)
DisassociateFacesRequest & WithClientRequestToken(const Aws::String &value)
DisassociateFacesRequest & AddFaceIds(Aws::String &&value)
DisassociateFacesRequest & WithCollectionId(const Aws::String &value)
DisassociateFacesRequest & AddFaceIds(const char *value)
DisassociateFacesRequest & WithCollectionId(Aws::String &&value)
DisassociateFacesRequest & WithFaceIds(Aws::Vector< Aws::String > &&value)
DisassociateFacesRequest & WithClientRequestToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector