AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
DescribeInferenceSettings.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 DescribeInferenceSettings() = default;
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>
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>>
70 SetAudioFeedInputs(std::forward<AudioFeedInputsT>(value));
71 return *this;
72 }
73 template <typename AudioFeedInputsT = AudioFeedInput>
74 DescribeInferenceSettings& AddAudioFeedInputs(AudioFeedInputsT&& value) {
75 m_audioFeedInputsHasBeenSet = true;
76 m_audioFeedInputs.emplace_back(std::forward<AudioFeedInputsT>(value));
77 return *this;
78 }
80
82
87 inline const Aws::Vector<EnrichmentMethod>& GetEnrichmentMethods() const { return m_enrichmentMethods; }
88 inline bool EnrichmentMethodsHasBeenSet() const { return m_enrichmentMethodsHasBeenSet; }
89 template <typename EnrichmentMethodsT = Aws::Vector<EnrichmentMethod>>
90 void SetEnrichmentMethods(EnrichmentMethodsT&& value) {
91 m_enrichmentMethodsHasBeenSet = true;
92 m_enrichmentMethods = std::forward<EnrichmentMethodsT>(value);
93 }
94 template <typename EnrichmentMethodsT = Aws::Vector<EnrichmentMethod>>
95 DescribeInferenceSettings& WithEnrichmentMethods(EnrichmentMethodsT&& value) {
96 SetEnrichmentMethods(std::forward<EnrichmentMethodsT>(value));
97 return *this;
98 }
100 m_enrichmentMethodsHasBeenSet = true;
101 m_enrichmentMethods.push_back(value);
102 return *this;
103 }
105 private:
106 Aws::String m_feedArn;
107
108 Aws::Vector<AudioFeedInput> m_audioFeedInputs;
109
110 Aws::Vector<EnrichmentMethod> m_enrichmentMethods;
111 bool m_feedArnHasBeenSet = false;
112 bool m_audioFeedInputsHasBeenSet = false;
113 bool m_enrichmentMethodsHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace MediaLive
118} // namespace Aws
AWS_MEDIALIVE_API DescribeInferenceSettings(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< EnrichmentMethod > & GetEnrichmentMethods() const
AWS_MEDIALIVE_API DescribeInferenceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API DescribeInferenceSettings()=default
DescribeInferenceSettings & AddAudioFeedInputs(AudioFeedInputsT &&value)
DescribeInferenceSettings & WithFeedArn(FeedArnT &&value)
const Aws::Vector< AudioFeedInput > & GetAudioFeedInputs() const
DescribeInferenceSettings & AddEnrichmentMethods(EnrichmentMethod value)
DescribeInferenceSettings & WithEnrichmentMethods(EnrichmentMethodsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeInferenceSettings & WithAudioFeedInputs(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