AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
InferenceSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/AudioFeedInput.h>
11#include <aws/medialive/model/EnrichmentMethod.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive {
23namespace Model {
24
31 public:
32 AWS_MEDIALIVE_API InferenceSettings() = default;
33 AWS_MEDIALIVE_API InferenceSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetFeedArn() const { return m_feedArn; }
43 inline bool FeedArnHasBeenSet() const { return m_feedArnHasBeenSet; }
44 template <typename FeedArnT = Aws::String>
45 void SetFeedArn(FeedArnT&& value) {
46 m_feedArnHasBeenSet = true;
47 m_feedArn = std::forward<FeedArnT>(value);
48 }
49 template <typename FeedArnT = Aws::String>
50 InferenceSettings& WithFeedArn(FeedArnT&& value) {
51 SetFeedArn(std::forward<FeedArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<AudioFeedInput>& GetAudioFeedInputs() const { return m_audioFeedInputs; }
62 inline bool AudioFeedInputsHasBeenSet() const { return m_audioFeedInputsHasBeenSet; }
63 template <typename AudioFeedInputsT = Aws::Vector<AudioFeedInput>>
64 void SetAudioFeedInputs(AudioFeedInputsT&& value) {
65 m_audioFeedInputsHasBeenSet = true;
66 m_audioFeedInputs = std::forward<AudioFeedInputsT>(value);
67 }
68 template <typename AudioFeedInputsT = Aws::Vector<AudioFeedInput>>
69 InferenceSettings& WithAudioFeedInputs(AudioFeedInputsT&& value) {
70 SetAudioFeedInputs(std::forward<AudioFeedInputsT>(value));
71 return *this;
72 }
73 template <typename AudioFeedInputsT = AudioFeedInput>
74 InferenceSettings& AddAudioFeedInputs(AudioFeedInputsT&& value) {
75 m_audioFeedInputsHasBeenSet = true;
76 m_audioFeedInputs.emplace_back(std::forward<AudioFeedInputsT>(value));
77 return *this;
78 }
80
82
89 inline const Aws::Vector<EnrichmentMethod>& GetEnrichmentMethods() const { return m_enrichmentMethods; }
90 inline bool EnrichmentMethodsHasBeenSet() const { return m_enrichmentMethodsHasBeenSet; }
91 template <typename EnrichmentMethodsT = Aws::Vector<EnrichmentMethod>>
92 void SetEnrichmentMethods(EnrichmentMethodsT&& value) {
93 m_enrichmentMethodsHasBeenSet = true;
94 m_enrichmentMethods = std::forward<EnrichmentMethodsT>(value);
95 }
96 template <typename EnrichmentMethodsT = Aws::Vector<EnrichmentMethod>>
97 InferenceSettings& WithEnrichmentMethods(EnrichmentMethodsT&& value) {
98 SetEnrichmentMethods(std::forward<EnrichmentMethodsT>(value));
99 return *this;
100 }
102 m_enrichmentMethodsHasBeenSet = true;
103 m_enrichmentMethods.push_back(value);
104 return *this;
105 }
107 private:
108 Aws::String m_feedArn;
109
110 Aws::Vector<AudioFeedInput> m_audioFeedInputs;
111
112 Aws::Vector<EnrichmentMethod> m_enrichmentMethods;
113 bool m_feedArnHasBeenSet = false;
114 bool m_audioFeedInputsHasBeenSet = false;
115 bool m_enrichmentMethodsHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace MediaLive
120} // namespace Aws
InferenceSettings & WithAudioFeedInputs(AudioFeedInputsT &&value)
AWS_MEDIALIVE_API InferenceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AudioFeedInput > & GetAudioFeedInputs() const
AWS_MEDIALIVE_API InferenceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnrichmentMethods(EnrichmentMethodsT &&value)
InferenceSettings & AddEnrichmentMethods(EnrichmentMethod value)
InferenceSettings & WithEnrichmentMethods(EnrichmentMethodsT &&value)
InferenceSettings & WithFeedArn(FeedArnT &&value)
AWS_MEDIALIVE_API InferenceSettings()=default
const Aws::Vector< EnrichmentMethod > & GetEnrichmentMethods() const
InferenceSettings & AddAudioFeedInputs(AudioFeedInputsT &&value)
void SetAudioFeedInputs(AudioFeedInputsT &&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