AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThumbnailDetail.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/Thumbnail.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
35 {
36 public:
37 AWS_MEDIALIVE_API ThumbnailDetail();
38 AWS_MEDIALIVE_API ThumbnailDetail(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
48 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
49 inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
50 inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
51 inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
52 inline ThumbnailDetail& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
53 inline ThumbnailDetail& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
54 inline ThumbnailDetail& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
56
58
61 inline const Aws::Vector<Thumbnail>& GetThumbnails() const{ return m_thumbnails; }
62 inline bool ThumbnailsHasBeenSet() const { return m_thumbnailsHasBeenSet; }
63 inline void SetThumbnails(const Aws::Vector<Thumbnail>& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = value; }
64 inline void SetThumbnails(Aws::Vector<Thumbnail>&& value) { m_thumbnailsHasBeenSet = true; m_thumbnails = std::move(value); }
65 inline ThumbnailDetail& WithThumbnails(const Aws::Vector<Thumbnail>& value) { SetThumbnails(value); return *this;}
66 inline ThumbnailDetail& WithThumbnails(Aws::Vector<Thumbnail>&& value) { SetThumbnails(std::move(value)); return *this;}
67 inline ThumbnailDetail& AddThumbnails(const Thumbnail& value) { m_thumbnailsHasBeenSet = true; m_thumbnails.push_back(value); return *this; }
68 inline ThumbnailDetail& AddThumbnails(Thumbnail&& value) { m_thumbnailsHasBeenSet = true; m_thumbnails.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_pipelineId;
73 bool m_pipelineIdHasBeenSet = false;
74
75 Aws::Vector<Thumbnail> m_thumbnails;
76 bool m_thumbnailsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MediaLive
81} // namespace Aws
void SetThumbnails(const Aws::Vector< Thumbnail > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPipelineId() const
ThumbnailDetail & WithPipelineId(const Aws::String &value)
AWS_MEDIALIVE_API ThumbnailDetail(Aws::Utils::Json::JsonView jsonValue)
ThumbnailDetail & AddThumbnails(const Thumbnail &value)
void SetPipelineId(const Aws::String &value)
ThumbnailDetail & WithPipelineId(Aws::String &&value)
const Aws::Vector< Thumbnail > & GetThumbnails() const
ThumbnailDetail & WithThumbnails(const Aws::Vector< Thumbnail > &value)
void SetThumbnails(Aws::Vector< Thumbnail > &&value)
AWS_MEDIALIVE_API ThumbnailDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ThumbnailDetail & WithThumbnails(Aws::Vector< Thumbnail > &&value)
ThumbnailDetail & AddThumbnails(Thumbnail &&value)
void SetPipelineId(Aws::String &&value)
ThumbnailDetail & WithPipelineId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue