AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Image.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/rekognition/model/S3Object.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
50 class Image
51 {
52 public:
53 AWS_REKOGNITION_API Image();
54 AWS_REKOGNITION_API Image(Aws::Utils::Json::JsonView jsonValue);
55 AWS_REKOGNITION_API Image& operator=(Aws::Utils::Json::JsonView jsonValue);
56 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
64 inline const Aws::Utils::ByteBuffer& GetBytes() const{ return m_bytes; }
65 inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
66 inline void SetBytes(const Aws::Utils::ByteBuffer& value) { m_bytesHasBeenSet = true; m_bytes = value; }
67 inline void SetBytes(Aws::Utils::ByteBuffer&& value) { m_bytesHasBeenSet = true; m_bytes = std::move(value); }
68 inline Image& WithBytes(const Aws::Utils::ByteBuffer& value) { SetBytes(value); return *this;}
69 inline Image& WithBytes(Aws::Utils::ByteBuffer&& value) { SetBytes(std::move(value)); return *this;}
71
73
76 inline const S3Object& GetS3Object() const{ return m_s3Object; }
77 inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; }
78 inline void SetS3Object(const S3Object& value) { m_s3ObjectHasBeenSet = true; m_s3Object = value; }
79 inline void SetS3Object(S3Object&& value) { m_s3ObjectHasBeenSet = true; m_s3Object = std::move(value); }
80 inline Image& WithS3Object(const S3Object& value) { SetS3Object(value); return *this;}
81 inline Image& WithS3Object(S3Object&& value) { SetS3Object(std::move(value)); return *this;}
83 private:
84
86 bool m_bytesHasBeenSet = false;
87
88 S3Object m_s3Object;
89 bool m_s3ObjectHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Rekognition
94} // namespace Aws
void SetBytes(const Aws::Utils::ByteBuffer &value)
Definition Image.h:66
Image & WithS3Object(S3Object &&value)
Definition Image.h:81
AWS_REKOGNITION_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::ByteBuffer & GetBytes() const
Definition Image.h:64
AWS_REKOGNITION_API Image()
bool S3ObjectHasBeenSet() const
Definition Image.h:77
Image & WithS3Object(const S3Object &value)
Definition Image.h:80
const S3Object & GetS3Object() const
Definition Image.h:76
void SetS3Object(S3Object &&value)
Definition Image.h:79
Image & WithBytes(const Aws::Utils::ByteBuffer &value)
Definition Image.h:68
Image & WithBytes(Aws::Utils::ByteBuffer &&value)
Definition Image.h:69
void SetS3Object(const S3Object &value)
Definition Image.h:78
bool BytesHasBeenSet() const
Definition Image.h:65
void SetBytes(Aws::Utils::ByteBuffer &&value)
Definition Image.h:67
AWS_REKOGNITION_API Image(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue