AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectProtectiveEquipmentRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/Image.h>
10#include <aws/rekognition/model/ProtectiveEquipmentSummarizationAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API DetectProtectiveEquipmentRequest();
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_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Image& GetImage() const{ return m_image; }
45 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
46 inline void SetImage(const Image& value) { m_imageHasBeenSet = true; m_image = value; }
47 inline void SetImage(Image&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
48 inline DetectProtectiveEquipmentRequest& WithImage(const Image& value) { SetImage(value); return *this;}
49 inline DetectProtectiveEquipmentRequest& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
51
53
56 inline const ProtectiveEquipmentSummarizationAttributes& GetSummarizationAttributes() const{ return m_summarizationAttributes; }
57 inline bool SummarizationAttributesHasBeenSet() const { return m_summarizationAttributesHasBeenSet; }
58 inline void SetSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes& value) { m_summarizationAttributesHasBeenSet = true; m_summarizationAttributes = value; }
59 inline void SetSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes&& value) { m_summarizationAttributesHasBeenSet = true; m_summarizationAttributes = std::move(value); }
63 private:
64
65 Image m_image;
66 bool m_imageHasBeenSet = false;
67
68 ProtectiveEquipmentSummarizationAttributes m_summarizationAttributes;
69 bool m_summarizationAttributesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
const ProtectiveEquipmentSummarizationAttributes & GetSummarizationAttributes() const
DetectProtectiveEquipmentRequest & WithSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes &value)
DetectProtectiveEquipmentRequest & WithImage(Image &&value)
void SetSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes &&value)
void SetSummarizationAttributes(const ProtectiveEquipmentSummarizationAttributes &value)
DetectProtectiveEquipmentRequest & WithSummarizationAttributes(ProtectiveEquipmentSummarizationAttributes &&value)
DetectProtectiveEquipmentRequest & WithImage(const Image &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String