AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordingConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/model/DestinationConfiguration.h>
10#include <aws/ivs/model/RenditionConfiguration.h>
11#include <aws/ivs/model/RecordingConfigurationState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ivs/model/ThumbnailConfiguration.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 IVS
27{
28namespace Model
29{
30
38 {
39 public:
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline RecordingConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline RecordingConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline RecordingConfiguration& WithArn(const char* value) { SetArn(value); return *this;}
59
61
65 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
66 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
67 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
68 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline RecordingConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline RecordingConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline RecordingConfiguration& WithName(const char* value) { SetName(value); return *this;}
86
88
93 inline int GetRecordingReconnectWindowSeconds() const{ return m_recordingReconnectWindowSeconds; }
94 inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; }
95 inline void SetRecordingReconnectWindowSeconds(int value) { m_recordingReconnectWindowSecondsHasBeenSet = true; m_recordingReconnectWindowSeconds = value; }
98
100
103 inline const RenditionConfiguration& GetRenditionConfiguration() const{ return m_renditionConfiguration; }
104 inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; }
105 inline void SetRenditionConfiguration(const RenditionConfiguration& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = value; }
106 inline void SetRenditionConfiguration(RenditionConfiguration&& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = std::move(value); }
110
112
117 inline const RecordingConfigurationState& GetState() const{ return m_state; }
118 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
119 inline void SetState(const RecordingConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; }
120 inline void SetState(RecordingConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
121 inline RecordingConfiguration& WithState(const RecordingConfigurationState& value) { SetState(value); return *this;}
122 inline RecordingConfiguration& WithState(RecordingConfigurationState&& value) { SetState(std::move(value)); return *this;}
124
126
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
136 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
137 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
138 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
139 inline RecordingConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
140 inline RecordingConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
141 inline RecordingConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 inline RecordingConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline RecordingConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
144 inline RecordingConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
145 inline RecordingConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
146 inline RecordingConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline RecordingConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
149
151
156 inline const ThumbnailConfiguration& GetThumbnailConfiguration() const{ return m_thumbnailConfiguration; }
157 inline bool ThumbnailConfigurationHasBeenSet() const { return m_thumbnailConfigurationHasBeenSet; }
158 inline void SetThumbnailConfiguration(const ThumbnailConfiguration& value) { m_thumbnailConfigurationHasBeenSet = true; m_thumbnailConfiguration = value; }
159 inline void SetThumbnailConfiguration(ThumbnailConfiguration&& value) { m_thumbnailConfigurationHasBeenSet = true; m_thumbnailConfiguration = std::move(value); }
163 private:
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 DestinationConfiguration m_destinationConfiguration;
169 bool m_destinationConfigurationHasBeenSet = false;
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
174 int m_recordingReconnectWindowSeconds;
175 bool m_recordingReconnectWindowSecondsHasBeenSet = false;
176
177 RenditionConfiguration m_renditionConfiguration;
178 bool m_renditionConfigurationHasBeenSet = false;
179
181 bool m_stateHasBeenSet = false;
182
184 bool m_tagsHasBeenSet = false;
185
186 ThumbnailConfiguration m_thumbnailConfiguration;
187 bool m_thumbnailConfigurationHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace IVS
192} // namespace Aws
RecordingConfiguration & WithArn(const Aws::String &value)
RecordingConfiguration & WithRenditionConfiguration(const RenditionConfiguration &value)
AWS_IVS_API RecordingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordingConfiguration & WithRecordingReconnectWindowSeconds(int value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(RecordingConfigurationState &&value)
RecordingConfiguration & WithThumbnailConfiguration(const ThumbnailConfiguration &value)
RecordingConfiguration & WithThumbnailConfiguration(ThumbnailConfiguration &&value)
RecordingConfiguration & WithName(Aws::String &&value)
RecordingConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
RecordingConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
const DestinationConfiguration & GetDestinationConfiguration() const
RecordingConfiguration & WithName(const Aws::String &value)
RecordingConfiguration & WithArn(Aws::String &&value)
RecordingConfiguration & WithDestinationConfiguration(const DestinationConfiguration &value)
RecordingConfiguration & WithState(RecordingConfigurationState &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const ThumbnailConfiguration & GetThumbnailConfiguration() const
AWS_IVS_API RecordingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetState(const RecordingConfigurationState &value)
RecordingConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RecordingConfiguration & AddTags(const char *key, const char *value)
void SetDestinationConfiguration(DestinationConfiguration &&value)
RecordingConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
RecordingConfiguration & WithRenditionConfiguration(RenditionConfiguration &&value)
void SetThumbnailConfiguration(ThumbnailConfiguration &&value)
RecordingConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const RecordingConfigurationState & GetState() const
RecordingConfiguration & WithDestinationConfiguration(DestinationConfiguration &&value)
void SetRenditionConfiguration(RenditionConfiguration &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RecordingConfiguration & WithName(const char *value)
const RenditionConfiguration & GetRenditionConfiguration() const
RecordingConfiguration & WithState(const RecordingConfigurationState &value)
RecordingConfiguration & AddTags(Aws::String &&key, const char *value)
RecordingConfiguration & AddTags(const char *key, Aws::String &&value)
RecordingConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRenditionConfiguration(const RenditionConfiguration &value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
void SetThumbnailConfiguration(const ThumbnailConfiguration &value)
RecordingConfiguration & WithArn(const char *value)
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
Aws::Utils::Json::JsonValue JsonValue