AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlackoutSlate.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputLocation.h>
9#include <aws/medialive/model/BlackoutSlateNetworkEndBlackout.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/medialive/model/BlackoutSlateState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIALIVE_API BlackoutSlate();
38 AWS_MEDIALIVE_API BlackoutSlate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API BlackoutSlate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const InputLocation& GetBlackoutSlateImage() const{ return m_blackoutSlateImage; }
49 inline bool BlackoutSlateImageHasBeenSet() const { return m_blackoutSlateImageHasBeenSet; }
50 inline void SetBlackoutSlateImage(const InputLocation& value) { m_blackoutSlateImageHasBeenSet = true; m_blackoutSlateImage = value; }
51 inline void SetBlackoutSlateImage(InputLocation&& value) { m_blackoutSlateImageHasBeenSet = true; m_blackoutSlateImage = std::move(value); }
52 inline BlackoutSlate& WithBlackoutSlateImage(const InputLocation& value) { SetBlackoutSlateImage(value); return *this;}
53 inline BlackoutSlate& WithBlackoutSlateImage(InputLocation&& value) { SetBlackoutSlateImage(std::move(value)); return *this;}
55
57
65 inline const BlackoutSlateNetworkEndBlackout& GetNetworkEndBlackout() const{ return m_networkEndBlackout; }
66 inline bool NetworkEndBlackoutHasBeenSet() const { return m_networkEndBlackoutHasBeenSet; }
67 inline void SetNetworkEndBlackout(const BlackoutSlateNetworkEndBlackout& value) { m_networkEndBlackoutHasBeenSet = true; m_networkEndBlackout = value; }
68 inline void SetNetworkEndBlackout(BlackoutSlateNetworkEndBlackout&& value) { m_networkEndBlackoutHasBeenSet = true; m_networkEndBlackout = std::move(value); }
72
74
78 inline const InputLocation& GetNetworkEndBlackoutImage() const{ return m_networkEndBlackoutImage; }
79 inline bool NetworkEndBlackoutImageHasBeenSet() const { return m_networkEndBlackoutImageHasBeenSet; }
80 inline void SetNetworkEndBlackoutImage(const InputLocation& value) { m_networkEndBlackoutImageHasBeenSet = true; m_networkEndBlackoutImage = value; }
81 inline void SetNetworkEndBlackoutImage(InputLocation&& value) { m_networkEndBlackoutImageHasBeenSet = true; m_networkEndBlackoutImage = std::move(value); }
83 inline BlackoutSlate& WithNetworkEndBlackoutImage(InputLocation&& value) { SetNetworkEndBlackoutImage(std::move(value)); return *this;}
85
87
91 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
92 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
93 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
94 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
95 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
96 inline BlackoutSlate& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
97 inline BlackoutSlate& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
98 inline BlackoutSlate& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
100
102
106 inline const BlackoutSlateState& GetState() const{ return m_state; }
107 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
108 inline void SetState(const BlackoutSlateState& value) { m_stateHasBeenSet = true; m_state = value; }
109 inline void SetState(BlackoutSlateState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
110 inline BlackoutSlate& WithState(const BlackoutSlateState& value) { SetState(value); return *this;}
111 inline BlackoutSlate& WithState(BlackoutSlateState&& value) { SetState(std::move(value)); return *this;}
113 private:
114
115 InputLocation m_blackoutSlateImage;
116 bool m_blackoutSlateImageHasBeenSet = false;
117
118 BlackoutSlateNetworkEndBlackout m_networkEndBlackout;
119 bool m_networkEndBlackoutHasBeenSet = false;
120
121 InputLocation m_networkEndBlackoutImage;
122 bool m_networkEndBlackoutImageHasBeenSet = false;
123
124 Aws::String m_networkId;
125 bool m_networkIdHasBeenSet = false;
126
127 BlackoutSlateState m_state;
128 bool m_stateHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace MediaLive
133} // namespace Aws
BlackoutSlate & WithState(const BlackoutSlateState &value)
BlackoutSlate & WithNetworkEndBlackoutImage(const InputLocation &value)
BlackoutSlate & WithNetworkId(const char *value)
AWS_MEDIALIVE_API BlackoutSlate(Aws::Utils::Json::JsonView jsonValue)
const InputLocation & GetBlackoutSlateImage() const
const BlackoutSlateNetworkEndBlackout & GetNetworkEndBlackout() const
BlackoutSlate & WithNetworkEndBlackoutImage(InputLocation &&value)
BlackoutSlate & WithState(BlackoutSlateState &&value)
const InputLocation & GetNetworkEndBlackoutImage() const
void SetBlackoutSlateImage(const InputLocation &value)
void SetState(const BlackoutSlateState &value)
BlackoutSlate & WithNetworkId(const Aws::String &value)
const BlackoutSlateState & GetState() const
void SetState(BlackoutSlateState &&value)
void SetNetworkEndBlackoutImage(InputLocation &&value)
BlackoutSlate & WithNetworkId(Aws::String &&value)
BlackoutSlate & WithBlackoutSlateImage(InputLocation &&value)
void SetNetworkId(Aws::String &&value)
void SetNetworkEndBlackout(BlackoutSlateNetworkEndBlackout &&value)
void SetBlackoutSlateImage(InputLocation &&value)
BlackoutSlate & WithNetworkEndBlackout(const BlackoutSlateNetworkEndBlackout &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkEndBlackoutImage(const InputLocation &value)
AWS_MEDIALIVE_API BlackoutSlate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkId(const char *value)
BlackoutSlate & WithNetworkEndBlackout(BlackoutSlateNetworkEndBlackout &&value)
void SetNetworkEndBlackout(const BlackoutSlateNetworkEndBlackout &value)
void SetNetworkId(const Aws::String &value)
BlackoutSlate & WithBlackoutSlateImage(const InputLocation &value)
const Aws::String & GetNetworkId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue