AWS SDK for C++

AWS SDK for C++ Version 1.11.814

Loading...
Searching...
No Matches
ElementalInferenceConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/ElementalInferenceFeature.h>
10#include <aws/mediaconvert/model/ElementalInferenceFeed.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert {
22namespace Model {
23
31 public:
32 AWS_MEDIACONVERT_API ElementalInferenceConfiguration() = default;
35 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<ElementalInferenceFeature>& GetFeatures() const { return m_features; }
42 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
43 template <typename FeaturesT = Aws::Vector<ElementalInferenceFeature>>
44 void SetFeatures(FeaturesT&& value) {
45 m_featuresHasBeenSet = true;
46 m_features = std::forward<FeaturesT>(value);
47 }
48 template <typename FeaturesT = Aws::Vector<ElementalInferenceFeature>>
50 SetFeatures(std::forward<FeaturesT>(value));
51 return *this;
52 }
54 m_featuresHasBeenSet = true;
55 m_features.push_back(value);
56 return *this;
57 }
59
61
64 inline const Aws::Vector<ElementalInferenceFeed>& GetFeeds() const { return m_feeds; }
65 inline bool FeedsHasBeenSet() const { return m_feedsHasBeenSet; }
66 template <typename FeedsT = Aws::Vector<ElementalInferenceFeed>>
67 void SetFeeds(FeedsT&& value) {
68 m_feedsHasBeenSet = true;
69 m_feeds = std::forward<FeedsT>(value);
70 }
71 template <typename FeedsT = Aws::Vector<ElementalInferenceFeed>>
73 SetFeeds(std::forward<FeedsT>(value));
74 return *this;
75 }
76 template <typename FeedsT = ElementalInferenceFeed>
78 m_feedsHasBeenSet = true;
79 m_feeds.emplace_back(std::forward<FeedsT>(value));
80 return *this;
81 }
83 private:
85
87 bool m_featuresHasBeenSet = false;
88 bool m_feedsHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace MediaConvert
93} // namespace Aws
AWS_MEDIACONVERT_API ElementalInferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
ElementalInferenceConfiguration & AddFeeds(FeedsT &&value)
AWS_MEDIACONVERT_API ElementalInferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API ElementalInferenceConfiguration()=default
ElementalInferenceConfiguration & AddFeatures(ElementalInferenceFeature value)
const Aws::Vector< ElementalInferenceFeed > & GetFeeds() const
ElementalInferenceConfiguration & WithFeeds(FeedsT &&value)
ElementalInferenceConfiguration & WithFeatures(FeaturesT &&value)
const Aws::Vector< ElementalInferenceFeature > & GetFeatures() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue