AWS SDK for C++

AWS SDK for C++ Version 1.11.817

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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API InferenceSettings() = default;
32 AWS_MEDIALIVE_API InferenceSettings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetFeedArn() const { return m_feedArn; }
42 inline bool FeedArnHasBeenSet() const { return m_feedArnHasBeenSet; }
43 template <typename FeedArnT = Aws::String>
44 void SetFeedArn(FeedArnT&& value) {
45 m_feedArnHasBeenSet = true;
46 m_feedArn = std::forward<FeedArnT>(value);
47 }
48 template <typename FeedArnT = Aws::String>
49 InferenceSettings& WithFeedArn(FeedArnT&& value) {
50 SetFeedArn(std::forward<FeedArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<AudioFeedInput>& GetAudioFeedInputs() const { return m_audioFeedInputs; }
61 inline bool AudioFeedInputsHasBeenSet() const { return m_audioFeedInputsHasBeenSet; }
62 template <typename AudioFeedInputsT = Aws::Vector<AudioFeedInput>>
63 void SetAudioFeedInputs(AudioFeedInputsT&& value) {
64 m_audioFeedInputsHasBeenSet = true;
65 m_audioFeedInputs = std::forward<AudioFeedInputsT>(value);
66 }
67 template <typename AudioFeedInputsT = Aws::Vector<AudioFeedInput>>
68 InferenceSettings& WithAudioFeedInputs(AudioFeedInputsT&& value) {
69 SetAudioFeedInputs(std::forward<AudioFeedInputsT>(value));
70 return *this;
71 }
72 template <typename AudioFeedInputsT = AudioFeedInput>
73 InferenceSettings& AddAudioFeedInputs(AudioFeedInputsT&& value) {
74 m_audioFeedInputsHasBeenSet = true;
75 m_audioFeedInputs.emplace_back(std::forward<AudioFeedInputsT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_feedArn;
81
82 Aws::Vector<AudioFeedInput> m_audioFeedInputs;
83 bool m_feedArnHasBeenSet = false;
84 bool m_audioFeedInputsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace MediaLive
89} // 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
InferenceSettings & WithFeedArn(FeedArnT &&value)
AWS_MEDIALIVE_API InferenceSettings()=default
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