AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompositionSummary.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs-realtime/model/CompositionState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ivs-realtime/model/DestinationSummary.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ivsrealtime
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_IVSREALTIME_API CompositionSummary();
40 AWS_IVSREALTIME_API CompositionSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline CompositionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline CompositionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline CompositionSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetStageArn() const{ return m_stageArn; }
64 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
65 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
66 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
67 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
68 inline CompositionSummary& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
69 inline CompositionSummary& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
70 inline CompositionSummary& WithStageArn(const char* value) { SetStageArn(value); return *this;}
72
74
77 inline const Aws::Vector<DestinationSummary>& GetDestinations() const{ return m_destinations; }
78 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
79 inline void SetDestinations(const Aws::Vector<DestinationSummary>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
80 inline void SetDestinations(Aws::Vector<DestinationSummary>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
82 inline CompositionSummary& WithDestinations(Aws::Vector<DestinationSummary>&& value) { SetDestinations(std::move(value)); return *this;}
83 inline CompositionSummary& AddDestinations(const DestinationSummary& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
84 inline CompositionSummary& AddDestinations(DestinationSummary&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
86
88
91 inline const CompositionState& GetState() const{ return m_state; }
92 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
93 inline void SetState(const CompositionState& value) { m_stateHasBeenSet = true; m_state = value; }
94 inline void SetState(CompositionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
95 inline CompositionSummary& WithState(const CompositionState& value) { SetState(value); return *this;}
96 inline CompositionSummary& WithState(CompositionState&& value) { SetState(std::move(value)); return *this;}
98
100
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline CompositionSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
114 inline CompositionSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
115 inline CompositionSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 inline CompositionSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
117 inline CompositionSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
118 inline CompositionSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
119 inline CompositionSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline CompositionSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline CompositionSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123
125
129 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
130 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
131 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
132 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
133 inline CompositionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
134 inline CompositionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
136
138
142 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
143 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
144 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
145 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
146 inline CompositionSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
147 inline CompositionSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_arn;
152 bool m_arnHasBeenSet = false;
153
154 Aws::String m_stageArn;
155 bool m_stageArnHasBeenSet = false;
156
157 Aws::Vector<DestinationSummary> m_destinations;
158 bool m_destinationsHasBeenSet = false;
159
160 CompositionState m_state;
161 bool m_stateHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165
166 Aws::Utils::DateTime m_startTime;
167 bool m_startTimeHasBeenSet = false;
168
169 Aws::Utils::DateTime m_endTime;
170 bool m_endTimeHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace ivsrealtime
175} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IVSREALTIME_API CompositionSummary(Aws::Utils::Json::JsonView jsonValue)
CompositionSummary & WithEndTime(const Aws::Utils::DateTime &value)
CompositionSummary & AddTags(const char *key, const char *value)
void SetDestinations(const Aws::Vector< DestinationSummary > &value)
CompositionSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CompositionSummary & WithState(const CompositionState &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetStartTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CompositionSummary & WithEndTime(Aws::Utils::DateTime &&value)
CompositionSummary & WithStartTime(const Aws::Utils::DateTime &value)
CompositionSummary & WithState(CompositionState &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CompositionSummary & WithStageArn(const Aws::String &value)
CompositionSummary & WithArn(const char *value)
CompositionSummary & AddTags(const char *key, Aws::String &&value)
CompositionSummary & AddDestinations(const DestinationSummary &value)
const Aws::Utils::DateTime & GetStartTime() const
const CompositionState & GetState() const
CompositionSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< DestinationSummary > & GetDestinations() const
void SetStartTime(Aws::Utils::DateTime &&value)
CompositionSummary & WithStageArn(const char *value)
CompositionSummary & AddDestinations(DestinationSummary &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
CompositionSummary & AddTags(const Aws::String &key, Aws::String &&value)
CompositionSummary & AddTags(const Aws::String &key, const Aws::String &value)
CompositionSummary & WithArn(Aws::String &&value)
CompositionSummary & AddTags(Aws::String &&key, const char *value)
CompositionSummary & WithStartTime(Aws::Utils::DateTime &&value)
CompositionSummary & WithStageArn(Aws::String &&value)
void SetDestinations(Aws::Vector< DestinationSummary > &&value)
void SetStageArn(const Aws::String &value)
void SetState(const CompositionState &value)
CompositionSummary & WithDestinations(const Aws::Vector< DestinationSummary > &value)
CompositionSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CompositionSummary & WithArn(const Aws::String &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CompositionSummary & AddTags(Aws::String &&key, Aws::String &&value)
CompositionSummary & WithDestinations(Aws::Vector< DestinationSummary > &&value)
AWS_IVSREALTIME_API CompositionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue