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/kinesis-video-archived-media/KinesisVideoArchivedMedia_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/kinesis-video-archived-media/model/ImageError.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisVideoArchivedMedia
24{
25namespace Model
26{
27
34 class Image
35 {
36 public:
37 AWS_KINESISVIDEOARCHIVEDMEDIA_API Image();
38 AWS_KINESISVIDEOARCHIVEDMEDIA_API Image(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEOARCHIVEDMEDIA_API Image& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Utils::DateTime& GetTimeStamp() const{ return m_timeStamp; }
50 inline bool TimeStampHasBeenSet() const { return m_timeStampHasBeenSet; }
51 inline void SetTimeStamp(const Aws::Utils::DateTime& value) { m_timeStampHasBeenSet = true; m_timeStamp = value; }
52 inline void SetTimeStamp(Aws::Utils::DateTime&& value) { m_timeStampHasBeenSet = true; m_timeStamp = std::move(value); }
53 inline Image& WithTimeStamp(const Aws::Utils::DateTime& value) { SetTimeStamp(value); return *this;}
54 inline Image& WithTimeStamp(Aws::Utils::DateTime&& value) { SetTimeStamp(std::move(value)); return *this;}
56
58
66 inline const ImageError& GetError() const{ return m_error; }
67 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
68 inline void SetError(const ImageError& value) { m_errorHasBeenSet = true; m_error = value; }
69 inline void SetError(ImageError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
70 inline Image& WithError(const ImageError& value) { SetError(value); return *this;}
71 inline Image& WithError(ImageError&& value) { SetError(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetImageContent() const{ return m_imageContent; }
79 inline bool ImageContentHasBeenSet() const { return m_imageContentHasBeenSet; }
80 inline void SetImageContent(const Aws::String& value) { m_imageContentHasBeenSet = true; m_imageContent = value; }
81 inline void SetImageContent(Aws::String&& value) { m_imageContentHasBeenSet = true; m_imageContent = std::move(value); }
82 inline void SetImageContent(const char* value) { m_imageContentHasBeenSet = true; m_imageContent.assign(value); }
83 inline Image& WithImageContent(const Aws::String& value) { SetImageContent(value); return *this;}
84 inline Image& WithImageContent(Aws::String&& value) { SetImageContent(std::move(value)); return *this;}
85 inline Image& WithImageContent(const char* value) { SetImageContent(value); return *this;}
87 private:
88
89 Aws::Utils::DateTime m_timeStamp;
90 bool m_timeStampHasBeenSet = false;
91
92 ImageError m_error;
93 bool m_errorHasBeenSet = false;
94
95 Aws::String m_imageContent;
96 bool m_imageContentHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace KinesisVideoArchivedMedia
101} // namespace Aws
void SetError(ImageError &&value)
Definition Image.h:69
void SetTimeStamp(const Aws::Utils::DateTime &value)
Definition Image.h:51
const ImageError & GetError() const
Definition Image.h:66
Image & WithImageContent(Aws::String &&value)
Definition Image.h:84
Image & WithError(ImageError &&value)
Definition Image.h:71
Image & WithTimeStamp(const Aws::Utils::DateTime &value)
Definition Image.h:53
const Aws::Utils::DateTime & GetTimeStamp() const
Definition Image.h:49
void SetImageContent(const char *value)
Definition Image.h:82
AWS_KINESISVIDEOARCHIVEDMEDIA_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
Image & WithError(const ImageError &value)
Definition Image.h:70
void SetTimeStamp(Aws::Utils::DateTime &&value)
Definition Image.h:52
AWS_KINESISVIDEOARCHIVEDMEDIA_API Image(Aws::Utils::Json::JsonView jsonValue)
void SetError(const ImageError &value)
Definition Image.h:68
Image & WithImageContent(const char *value)
Definition Image.h:85
void SetImageContent(const Aws::String &value)
Definition Image.h:80
Image & WithTimeStamp(Aws::Utils::DateTime &&value)
Definition Image.h:54
void SetImageContent(Aws::String &&value)
Definition Image.h:81
AWS_KINESISVIDEOARCHIVEDMEDIA_API Image()
Image & WithImageContent(const Aws::String &value)
Definition Image.h:83
const Aws::String & GetImageContent() const
Definition Image.h:78
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue