AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Thumbnail.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/ThumbnailType.h>
10#include <aws/core/utils/DateTime.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 MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API Thumbnail();
37 AWS_MEDIALIVE_API Thumbnail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Thumbnail& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBody() const{ return m_body; }
47 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
48 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
49 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
50 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
51 inline Thumbnail& WithBody(const Aws::String& value) { SetBody(value); return *this;}
52 inline Thumbnail& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
53 inline Thumbnail& WithBody(const char* value) { SetBody(value); return *this;}
55
57
60 inline const Aws::String& GetContentType() const{ return m_contentType; }
61 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
62 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
63 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
64 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
65 inline Thumbnail& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
66 inline Thumbnail& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
67 inline Thumbnail& WithContentType(const char* value) { SetContentType(value); return *this;}
69
71
74 inline const ThumbnailType& GetThumbnailType() const{ return m_thumbnailType; }
75 inline bool ThumbnailTypeHasBeenSet() const { return m_thumbnailTypeHasBeenSet; }
76 inline void SetThumbnailType(const ThumbnailType& value) { m_thumbnailTypeHasBeenSet = true; m_thumbnailType = value; }
77 inline void SetThumbnailType(ThumbnailType&& value) { m_thumbnailTypeHasBeenSet = true; m_thumbnailType = std::move(value); }
78 inline Thumbnail& WithThumbnailType(const ThumbnailType& value) { SetThumbnailType(value); return *this;}
79 inline Thumbnail& WithThumbnailType(ThumbnailType&& value) { SetThumbnailType(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetTimeStamp() const{ return m_timeStamp; }
87 inline bool TimeStampHasBeenSet() const { return m_timeStampHasBeenSet; }
88 inline void SetTimeStamp(const Aws::Utils::DateTime& value) { m_timeStampHasBeenSet = true; m_timeStamp = value; }
89 inline void SetTimeStamp(Aws::Utils::DateTime&& value) { m_timeStampHasBeenSet = true; m_timeStamp = std::move(value); }
90 inline Thumbnail& WithTimeStamp(const Aws::Utils::DateTime& value) { SetTimeStamp(value); return *this;}
91 inline Thumbnail& WithTimeStamp(Aws::Utils::DateTime&& value) { SetTimeStamp(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_body;
96 bool m_bodyHasBeenSet = false;
97
98 Aws::String m_contentType;
99 bool m_contentTypeHasBeenSet = false;
100
101 ThumbnailType m_thumbnailType;
102 bool m_thumbnailTypeHasBeenSet = false;
103
104 Aws::Utils::DateTime m_timeStamp;
105 bool m_timeStampHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MediaLive
110} // namespace Aws
AWS_MEDIALIVE_API Thumbnail()
void SetThumbnailType(const ThumbnailType &value)
Definition Thumbnail.h:76
const Aws::Utils::DateTime & GetTimeStamp() const
Definition Thumbnail.h:86
const Aws::String & GetBody() const
Definition Thumbnail.h:46
Thumbnail & WithThumbnailType(const ThumbnailType &value)
Definition Thumbnail.h:78
void SetTimeStamp(const Aws::Utils::DateTime &value)
Definition Thumbnail.h:88
Thumbnail & WithBody(Aws::String &&value)
Definition Thumbnail.h:52
void SetBody(const char *value)
Definition Thumbnail.h:50
void SetContentType(const Aws::String &value)
Definition Thumbnail.h:62
Thumbnail & WithTimeStamp(Aws::Utils::DateTime &&value)
Definition Thumbnail.h:91
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Thumbnail & WithBody(const Aws::String &value)
Definition Thumbnail.h:51
Thumbnail & WithContentType(const char *value)
Definition Thumbnail.h:67
const Aws::String & GetContentType() const
Definition Thumbnail.h:60
Thumbnail & WithThumbnailType(ThumbnailType &&value)
Definition Thumbnail.h:79
void SetTimeStamp(Aws::Utils::DateTime &&value)
Definition Thumbnail.h:89
Thumbnail & WithContentType(const Aws::String &value)
Definition Thumbnail.h:65
void SetContentType(const char *value)
Definition Thumbnail.h:64
AWS_MEDIALIVE_API Thumbnail & operator=(Aws::Utils::Json::JsonView jsonValue)
Thumbnail & WithContentType(Aws::String &&value)
Definition Thumbnail.h:66
void SetContentType(Aws::String &&value)
Definition Thumbnail.h:63
const ThumbnailType & GetThumbnailType() const
Definition Thumbnail.h:74
Thumbnail & WithBody(const char *value)
Definition Thumbnail.h:53
AWS_MEDIALIVE_API Thumbnail(Aws::Utils::Json::JsonView jsonValue)
void SetThumbnailType(ThumbnailType &&value)
Definition Thumbnail.h:77
Thumbnail & WithTimeStamp(const Aws::Utils::DateTime &value)
Definition Thumbnail.h:90
void SetBody(Aws::String &&value)
Definition Thumbnail.h:49
void SetBody(const Aws::String &value)
Definition Thumbnail.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue