AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteFacesRequest.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
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API DeleteFacesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteFaces"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
43 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
44 template<typename CollectionIdT = Aws::String>
45 void SetCollectionId(CollectionIdT&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::forward<CollectionIdT>(value); }
46 template<typename CollectionIdT = Aws::String>
47 DeleteFacesRequest& WithCollectionId(CollectionIdT&& value) { SetCollectionId(std::forward<CollectionIdT>(value)); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetFaceIds() const { return m_faceIds; }
55 inline bool FaceIdsHasBeenSet() const { return m_faceIdsHasBeenSet; }
56 template<typename FaceIdsT = Aws::Vector<Aws::String>>
57 void SetFaceIds(FaceIdsT&& value) { m_faceIdsHasBeenSet = true; m_faceIds = std::forward<FaceIdsT>(value); }
58 template<typename FaceIdsT = Aws::Vector<Aws::String>>
59 DeleteFacesRequest& WithFaceIds(FaceIdsT&& value) { SetFaceIds(std::forward<FaceIdsT>(value)); return *this;}
60 template<typename FaceIdsT = Aws::String>
61 DeleteFacesRequest& AddFaceIds(FaceIdsT&& value) { m_faceIdsHasBeenSet = true; m_faceIds.emplace_back(std::forward<FaceIdsT>(value)); return *this; }
63 private:
64
65 Aws::String m_collectionId;
66 bool m_collectionIdHasBeenSet = false;
67
69 bool m_faceIdsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
DeleteFacesRequest & WithCollectionId(CollectionIdT &&value)
AWS_REKOGNITION_API DeleteFacesRequest()=default
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
DeleteFacesRequest & AddFaceIds(FaceIdsT &&value)
const Aws::Vector< Aws::String > & GetFaceIds() const
DeleteFacesRequest & WithFaceIds(FaceIdsT &&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