AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
SdiSourceSummary.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/SdiSourceMode.h>
11#include <aws/medialive/model/SdiSourceState.h>
12#include <aws/medialive/model/SdiSourceType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_MEDIALIVE_API SdiSourceSummary() = default;
41 AWS_MEDIALIVE_API SdiSourceSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetArn() const { return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 template<typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
55 template<typename ArnT = Aws::String>
56 SdiSourceSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
58
60
64 inline const Aws::String& GetId() const { return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 template<typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
68 template<typename IdT = Aws::String>
69 SdiSourceSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
77 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
78 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
79 template<typename InputsT = Aws::Vector<Aws::String>>
80 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
81 template<typename InputsT = Aws::Vector<Aws::String>>
82 SdiSourceSummary& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
83 template<typename InputsT = Aws::String>
84 SdiSourceSummary& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
86
88
92 inline SdiSourceMode GetMode() const { return m_mode; }
93 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
94 inline void SetMode(SdiSourceMode value) { m_modeHasBeenSet = true; m_mode = value; }
95 inline SdiSourceSummary& WithMode(SdiSourceMode value) { SetMode(value); return *this;}
97
99
102 inline const Aws::String& GetName() const { return m_name; }
103 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
104 template<typename NameT = Aws::String>
105 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
106 template<typename NameT = Aws::String>
107 SdiSourceSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
109
111
115 inline SdiSourceState GetState() const { return m_state; }
116 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
117 inline void SetState(SdiSourceState value) { m_stateHasBeenSet = true; m_state = value; }
118 inline SdiSourceSummary& WithState(SdiSourceState value) { SetState(value); return *this;}
120
122
123 inline SdiSourceType GetType() const { return m_type; }
124 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
125 inline void SetType(SdiSourceType value) { m_typeHasBeenSet = true; m_type = value; }
126 inline SdiSourceSummary& WithType(SdiSourceType value) { SetType(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131 bool m_arnHasBeenSet = false;
132
133 Aws::String m_id;
134 bool m_idHasBeenSet = false;
135
137 bool m_inputsHasBeenSet = false;
138
140 bool m_modeHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
146 bool m_stateHasBeenSet = false;
147
149 bool m_typeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace MediaLive
154} // namespace Aws
SdiSourceSummary & WithId(IdT &&value)
SdiSourceSummary & WithName(NameT &&value)
SdiSourceSummary & WithArn(ArnT &&value)
SdiSourceSummary & AddInputs(InputsT &&value)
SdiSourceSummary & WithInputs(InputsT &&value)
AWS_MEDIALIVE_API SdiSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SdiSourceSummary & WithMode(SdiSourceMode value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
SdiSourceSummary & WithType(SdiSourceType value)
AWS_MEDIALIVE_API SdiSourceSummary()=default
const Aws::Vector< Aws::String > & GetInputs() const
AWS_MEDIALIVE_API SdiSourceSummary(Aws::Utils::Json::JsonView jsonValue)
SdiSourceSummary & WithState(SdiSourceState 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