AWS SDK for C++  1.9.158
AWS SDK for C++
DetectProtectiveEquipmentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Rekognition
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "DetectProtectiveEquipment"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Image& GetImage() const{ return m_image; }
44 
50  inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
51 
57  inline void SetImage(const Image& value) { m_imageHasBeenSet = true; m_image = value; }
58 
64  inline void SetImage(Image&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
65 
71  inline DetectProtectiveEquipmentRequest& WithImage(const Image& value) { SetImage(value); return *this;}
72 
78  inline DetectProtectiveEquipmentRequest& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
79 
80 
84  inline const ProtectiveEquipmentSummarizationAttributes& GetSummarizationAttributes() const{ return m_summarizationAttributes; }
85 
89  inline bool SummarizationAttributesHasBeenSet() const { return m_summarizationAttributesHasBeenSet; }
90 
94  inline void SetSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes& value) { m_summarizationAttributesHasBeenSet = true; m_summarizationAttributes = value; }
95 
99  inline void SetSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes&& value) { m_summarizationAttributesHasBeenSet = true; m_summarizationAttributes = std::move(value); }
100 
104  inline DetectProtectiveEquipmentRequest& WithSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes& value) { SetSummarizationAttributes(value); return *this;}
105 
109  inline DetectProtectiveEquipmentRequest& WithSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes&& value) { SetSummarizationAttributes(std::move(value)); return *this;}
110 
111  private:
112 
113  Image m_image;
114  bool m_imageHasBeenSet;
115 
116  ProtectiveEquipmentSummarizationAttributes m_summarizationAttributes;
117  bool m_summarizationAttributesHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace Rekognition
122 } // namespace Aws
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::SummarizationAttributesHasBeenSet
bool SummarizationAttributesHasBeenSet() const
Definition: DetectProtectiveEquipmentRequest.h:89
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::WithImage
DetectProtectiveEquipmentRequest & WithImage(Image &&value)
Definition: DetectProtectiveEquipmentRequest.h:78
ProtectiveEquipmentSummarizationAttributes.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::SetSummarizationAttributes
void SetSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes &&value)
Definition: DetectProtectiveEquipmentRequest.h:99
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DetectProtectiveEquipmentRequest.h:31
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::SetImage
void SetImage(Image &&value)
Definition: DetectProtectiveEquipmentRequest.h:64
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::GetImage
const Image & GetImage() const
Definition: DetectProtectiveEquipmentRequest.h:43
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::SerializePayload
Aws::String SerializePayload() const override
Image.h
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest
Definition: DetectProtectiveEquipmentRequest.h:23
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::WithImage
DetectProtectiveEquipmentRequest & WithImage(const Image &value)
Definition: DetectProtectiveEquipmentRequest.h:71
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::ImageHasBeenSet
bool ImageHasBeenSet() const
Definition: DetectProtectiveEquipmentRequest.h:50
Aws::Rekognition::Model::ProtectiveEquipmentSummarizationAttributes
Definition: ProtectiveEquipmentSummarizationAttributes.h:42
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::SetImage
void SetImage(const Image &value)
Definition: DetectProtectiveEquipmentRequest.h:57
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::WithSummarizationAttributes
DetectProtectiveEquipmentRequest & WithSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes &value)
Definition: DetectProtectiveEquipmentRequest.h:104
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::GetSummarizationAttributes
const ProtectiveEquipmentSummarizationAttributes & GetSummarizationAttributes() const
Definition: DetectProtectiveEquipmentRequest.h:84
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::DetectProtectiveEquipmentRequest
DetectProtectiveEquipmentRequest()
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
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::WithSummarizationAttributes
DetectProtectiveEquipmentRequest & WithSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes &&value)
Definition: DetectProtectiveEquipmentRequest.h:109
Aws::Rekognition::Model::DetectProtectiveEquipmentRequest::SetSummarizationAttributes
void SetSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes &value)
Definition: DetectProtectiveEquipmentRequest.h:94
RekognitionRequest.h