AWS SDK for C++  1.9.104
AWS SDK for C++
RecognizeCelebritiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Rekognition
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "RecognizeCelebrities"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
45  inline const Image& GetImage() const{ return m_image; }
46 
55  inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
56 
65  inline void SetImage(const Image& value) { m_imageHasBeenSet = true; m_image = value; }
66 
75  inline void SetImage(Image&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
76 
85  inline RecognizeCelebritiesRequest& WithImage(const Image& value) { SetImage(value); return *this;}
86 
95  inline RecognizeCelebritiesRequest& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
96 
97  private:
98 
99  Image m_image;
100  bool m_imageHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace Rekognition
105 } // namespace Aws
Aws::Rekognition::Model::RecognizeCelebritiesRequest::ImageHasBeenSet
bool ImageHasBeenSet() const
Definition: RecognizeCelebritiesRequest.h:55
Aws::Rekognition::Model::RecognizeCelebritiesRequest::GetImage
const Image & GetImage() const
Definition: RecognizeCelebritiesRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::RecognizeCelebritiesRequest::WithImage
RecognizeCelebritiesRequest & WithImage(Image &&value)
Definition: RecognizeCelebritiesRequest.h:95
Aws::Rekognition::Model::RecognizeCelebritiesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::RecognizeCelebritiesRequest
Definition: RecognizeCelebritiesRequest.h:22
Image.h
Aws::Rekognition::Model::RecognizeCelebritiesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::RecognizeCelebritiesRequest::SetImage
void SetImage(Image &&value)
Definition: RecognizeCelebritiesRequest.h:75
Aws::Rekognition::Model::RecognizeCelebritiesRequest::RecognizeCelebritiesRequest
RecognizeCelebritiesRequest()
Aws::Rekognition::Model::RecognizeCelebritiesRequest::SetImage
void SetImage(const Image &value)
Definition: RecognizeCelebritiesRequest.h:65
Aws::Rekognition::Model::RecognizeCelebritiesRequest::WithImage
RecognizeCelebritiesRequest & WithImage(const Image &value)
Definition: RecognizeCelebritiesRequest.h:85
Aws::Rekognition::Model::Image
Definition: Image.h:51
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::RecognizeCelebritiesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RecognizeCelebritiesRequest.h:30
RekognitionRequest.h