AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageGenerationConfiguration.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/ConfigurationStatus.h>
9#include <aws/kinesisvideo/model/ImageSelectorType.h>
10#include <aws/kinesisvideo/model/ImageGenerationDestinationConfig.h>
11#include <aws/kinesisvideo/model/Format.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/kinesisvideo/model/FormatConfigKey.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace KinesisVideo
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_KINESISVIDEO_API ImageGenerationConfiguration();
45 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const ConfigurationStatus& GetStatus() const{ return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(const ConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
56 inline void SetStatus(ConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
57 inline ImageGenerationConfiguration& WithStatus(const ConfigurationStatus& value) { SetStatus(value); return *this;}
58 inline ImageGenerationConfiguration& WithStatus(ConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;}
60
62
66 inline const ImageSelectorType& GetImageSelectorType() const{ return m_imageSelectorType; }
67 inline bool ImageSelectorTypeHasBeenSet() const { return m_imageSelectorTypeHasBeenSet; }
68 inline void SetImageSelectorType(const ImageSelectorType& value) { m_imageSelectorTypeHasBeenSet = true; m_imageSelectorType = value; }
69 inline void SetImageSelectorType(ImageSelectorType&& value) { m_imageSelectorTypeHasBeenSet = true; m_imageSelectorType = std::move(value); }
73
75
79 inline const ImageGenerationDestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
80 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
81 inline void SetDestinationConfig(const ImageGenerationDestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
82 inline void SetDestinationConfig(ImageGenerationDestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
86
88
94 inline int GetSamplingInterval() const{ return m_samplingInterval; }
95 inline bool SamplingIntervalHasBeenSet() const { return m_samplingIntervalHasBeenSet; }
96 inline void SetSamplingInterval(int value) { m_samplingIntervalHasBeenSet = true; m_samplingInterval = value; }
97 inline ImageGenerationConfiguration& WithSamplingInterval(int value) { SetSamplingInterval(value); return *this;}
99
101
104 inline const Format& GetFormat() const{ return m_format; }
105 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
106 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
107 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
108 inline ImageGenerationConfiguration& WithFormat(const Format& value) { SetFormat(value); return *this;}
109 inline ImageGenerationConfiguration& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
111
113
123 inline const Aws::Map<FormatConfigKey, Aws::String>& GetFormatConfig() const{ return m_formatConfig; }
124 inline bool FormatConfigHasBeenSet() const { return m_formatConfigHasBeenSet; }
125 inline void SetFormatConfig(const Aws::Map<FormatConfigKey, Aws::String>& value) { m_formatConfigHasBeenSet = true; m_formatConfig = value; }
126 inline void SetFormatConfig(Aws::Map<FormatConfigKey, Aws::String>&& value) { m_formatConfigHasBeenSet = true; m_formatConfig = std::move(value); }
129 inline ImageGenerationConfiguration& AddFormatConfig(const FormatConfigKey& key, const Aws::String& value) { m_formatConfigHasBeenSet = true; m_formatConfig.emplace(key, value); return *this; }
130 inline ImageGenerationConfiguration& AddFormatConfig(FormatConfigKey&& key, const Aws::String& value) { m_formatConfigHasBeenSet = true; m_formatConfig.emplace(std::move(key), value); return *this; }
131 inline ImageGenerationConfiguration& AddFormatConfig(const FormatConfigKey& key, Aws::String&& value) { m_formatConfigHasBeenSet = true; m_formatConfig.emplace(key, std::move(value)); return *this; }
132 inline ImageGenerationConfiguration& AddFormatConfig(FormatConfigKey&& key, Aws::String&& value) { m_formatConfigHasBeenSet = true; m_formatConfig.emplace(std::move(key), std::move(value)); return *this; }
133 inline ImageGenerationConfiguration& AddFormatConfig(FormatConfigKey&& key, const char* value) { m_formatConfigHasBeenSet = true; m_formatConfig.emplace(std::move(key), value); return *this; }
134 inline ImageGenerationConfiguration& AddFormatConfig(const FormatConfigKey& key, const char* value) { m_formatConfigHasBeenSet = true; m_formatConfig.emplace(key, value); return *this; }
136
138
147 inline int GetWidthPixels() const{ return m_widthPixels; }
148 inline bool WidthPixelsHasBeenSet() const { return m_widthPixelsHasBeenSet; }
149 inline void SetWidthPixels(int value) { m_widthPixelsHasBeenSet = true; m_widthPixels = value; }
150 inline ImageGenerationConfiguration& WithWidthPixels(int value) { SetWidthPixels(value); return *this;}
152
154
163 inline int GetHeightPixels() const{ return m_heightPixels; }
164 inline bool HeightPixelsHasBeenSet() const { return m_heightPixelsHasBeenSet; }
165 inline void SetHeightPixels(int value) { m_heightPixelsHasBeenSet = true; m_heightPixels = value; }
166 inline ImageGenerationConfiguration& WithHeightPixels(int value) { SetHeightPixels(value); return *this;}
168 private:
169
170 ConfigurationStatus m_status;
171 bool m_statusHasBeenSet = false;
172
173 ImageSelectorType m_imageSelectorType;
174 bool m_imageSelectorTypeHasBeenSet = false;
175
176 ImageGenerationDestinationConfig m_destinationConfig;
177 bool m_destinationConfigHasBeenSet = false;
178
179 int m_samplingInterval;
180 bool m_samplingIntervalHasBeenSet = false;
181
182 Format m_format;
183 bool m_formatHasBeenSet = false;
184
186 bool m_formatConfigHasBeenSet = false;
187
188 int m_widthPixels;
189 bool m_widthPixelsHasBeenSet = false;
190
191 int m_heightPixels;
192 bool m_heightPixelsHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace KinesisVideo
197} // namespace Aws
ImageGenerationConfiguration & AddFormatConfig(const FormatConfigKey &key, Aws::String &&value)
ImageGenerationConfiguration & WithDestinationConfig(ImageGenerationDestinationConfig &&value)
ImageGenerationConfiguration & AddFormatConfig(const FormatConfigKey &key, const Aws::String &value)
AWS_KINESISVIDEO_API ImageGenerationConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationConfig(const ImageGenerationDestinationConfig &value)
ImageGenerationConfiguration & WithFormat(const Format &value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
ImageGenerationConfiguration & WithFormat(Format &&value)
ImageGenerationConfiguration & AddFormatConfig(FormatConfigKey &&key, Aws::String &&value)
void SetDestinationConfig(ImageGenerationDestinationConfig &&value)
void SetFormatConfig(Aws::Map< FormatConfigKey, Aws::String > &&value)
const ImageGenerationDestinationConfig & GetDestinationConfig() const
ImageGenerationConfiguration & WithFormatConfig(Aws::Map< FormatConfigKey, Aws::String > &&value)
ImageGenerationConfiguration & WithFormatConfig(const Aws::Map< FormatConfigKey, Aws::String > &value)
AWS_KINESISVIDEO_API ImageGenerationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageGenerationConfiguration & AddFormatConfig(FormatConfigKey &&key, const char *value)
const Aws::Map< FormatConfigKey, Aws::String > & GetFormatConfig() const
ImageGenerationConfiguration & WithDestinationConfig(const ImageGenerationDestinationConfig &value)
ImageGenerationConfiguration & WithStatus(const ConfigurationStatus &value)
ImageGenerationConfiguration & WithStatus(ConfigurationStatus &&value)
ImageGenerationConfiguration & WithImageSelectorType(ImageSelectorType &&value)
ImageGenerationConfiguration & AddFormatConfig(FormatConfigKey &&key, const Aws::String &value)
ImageGenerationConfiguration & WithSamplingInterval(int value)
ImageGenerationConfiguration & WithImageSelectorType(const ImageSelectorType &value)
ImageGenerationConfiguration & AddFormatConfig(const FormatConfigKey &key, const char *value)
void SetFormatConfig(const Aws::Map< FormatConfigKey, Aws::String > &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