AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
OverrideConfiguration.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/AudioOverrideConfiguration.h>
9#include <aws/bedrock-data-automation/model/DocumentOverrideConfiguration.h>
10#include <aws/bedrock-data-automation/model/ImageOverrideConfiguration.h>
11#include <aws/bedrock-data-automation/model/ModalityRoutingConfiguration.h>
12#include <aws/bedrock-data-automation/model/VideoOverrideConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockDataAutomation {
24namespace Model {
25
32 public:
33 AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration() = default;
34 AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const DocumentOverrideConfiguration& GetDocument() const { return m_document; }
41 inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
42 template <typename DocumentT = DocumentOverrideConfiguration>
43 void SetDocument(DocumentT&& value) {
44 m_documentHasBeenSet = true;
45 m_document = std::forward<DocumentT>(value);
46 }
47 template <typename DocumentT = DocumentOverrideConfiguration>
48 OverrideConfiguration& WithDocument(DocumentT&& value) {
49 SetDocument(std::forward<DocumentT>(value));
50 return *this;
51 }
53
55
56 inline const ImageOverrideConfiguration& GetImage() const { return m_image; }
57 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
58 template <typename ImageT = ImageOverrideConfiguration>
59 void SetImage(ImageT&& value) {
60 m_imageHasBeenSet = true;
61 m_image = std::forward<ImageT>(value);
62 }
63 template <typename ImageT = ImageOverrideConfiguration>
65 SetImage(std::forward<ImageT>(value));
66 return *this;
67 }
69
71
72 inline const VideoOverrideConfiguration& GetVideo() const { return m_video; }
73 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
74 template <typename VideoT = VideoOverrideConfiguration>
75 void SetVideo(VideoT&& value) {
76 m_videoHasBeenSet = true;
77 m_video = std::forward<VideoT>(value);
78 }
79 template <typename VideoT = VideoOverrideConfiguration>
81 SetVideo(std::forward<VideoT>(value));
82 return *this;
83 }
85
87
88 inline const AudioOverrideConfiguration& GetAudio() const { return m_audio; }
89 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
90 template <typename AudioT = AudioOverrideConfiguration>
91 void SetAudio(AudioT&& value) {
92 m_audioHasBeenSet = true;
93 m_audio = std::forward<AudioT>(value);
94 }
95 template <typename AudioT = AudioOverrideConfiguration>
97 SetAudio(std::forward<AudioT>(value));
98 return *this;
99 }
101
103
104 inline const ModalityRoutingConfiguration& GetModalityRouting() const { return m_modalityRouting; }
105 inline bool ModalityRoutingHasBeenSet() const { return m_modalityRoutingHasBeenSet; }
106 template <typename ModalityRoutingT = ModalityRoutingConfiguration>
107 void SetModalityRouting(ModalityRoutingT&& value) {
108 m_modalityRoutingHasBeenSet = true;
109 m_modalityRouting = std::forward<ModalityRoutingT>(value);
110 }
111 template <typename ModalityRoutingT = ModalityRoutingConfiguration>
112 OverrideConfiguration& WithModalityRouting(ModalityRoutingT&& value) {
113 SetModalityRouting(std::forward<ModalityRoutingT>(value));
114 return *this;
115 }
117 private:
119
121
123
125
126 ModalityRoutingConfiguration m_modalityRouting;
127 bool m_documentHasBeenSet = false;
128 bool m_imageHasBeenSet = false;
129 bool m_videoHasBeenSet = false;
130 bool m_audioHasBeenSet = false;
131 bool m_modalityRoutingHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace BedrockDataAutomation
136} // namespace Aws
OverrideConfiguration & WithDocument(DocumentT &&value)
AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration()=default
const ImageOverrideConfiguration & GetImage() const
const DocumentOverrideConfiguration & GetDocument() const
const ModalityRoutingConfiguration & GetModalityRouting() const
AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AudioOverrideConfiguration & GetAudio() const
const VideoOverrideConfiguration & GetVideo() const
OverrideConfiguration & WithModalityRouting(ModalityRoutingT &&value)
Aws::Utils::Json::JsonValue JsonValue