AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/DocumentOverrideConfiguration.h>
9#include <aws/bedrock-data-automation/model/ImageOverrideConfiguration.h>
10#include <aws/bedrock-data-automation/model/VideoOverrideConfiguration.h>
11#include <aws/bedrock-data-automation/model/AudioOverrideConfiguration.h>
12#include <aws/bedrock-data-automation/model/ModalityRoutingConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockDataAutomation
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration() = default;
39 AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKDATAAUTOMATION_API OverrideConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const DocumentOverrideConfiguration& GetDocument() const { return m_document; }
47 inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
48 template<typename DocumentT = DocumentOverrideConfiguration>
49 void SetDocument(DocumentT&& value) { m_documentHasBeenSet = true; m_document = std::forward<DocumentT>(value); }
50 template<typename DocumentT = DocumentOverrideConfiguration>
51 OverrideConfiguration& WithDocument(DocumentT&& value) { SetDocument(std::forward<DocumentT>(value)); return *this;}
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) { m_imageHasBeenSet = true; m_image = std::forward<ImageT>(value); }
60 template<typename ImageT = ImageOverrideConfiguration>
61 OverrideConfiguration& WithImage(ImageT&& value) { SetImage(std::forward<ImageT>(value)); return *this;}
63
65
66 inline const VideoOverrideConfiguration& GetVideo() const { return m_video; }
67 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
68 template<typename VideoT = VideoOverrideConfiguration>
69 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
70 template<typename VideoT = VideoOverrideConfiguration>
71 OverrideConfiguration& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
73
75
76 inline const AudioOverrideConfiguration& GetAudio() const { return m_audio; }
77 inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; }
78 template<typename AudioT = AudioOverrideConfiguration>
79 void SetAudio(AudioT&& value) { m_audioHasBeenSet = true; m_audio = std::forward<AudioT>(value); }
80 template<typename AudioT = AudioOverrideConfiguration>
81 OverrideConfiguration& WithAudio(AudioT&& value) { SetAudio(std::forward<AudioT>(value)); return *this;}
83
85
86 inline const ModalityRoutingConfiguration& GetModalityRouting() const { return m_modalityRouting; }
87 inline bool ModalityRoutingHasBeenSet() const { return m_modalityRoutingHasBeenSet; }
88 template<typename ModalityRoutingT = ModalityRoutingConfiguration>
89 void SetModalityRouting(ModalityRoutingT&& value) { m_modalityRoutingHasBeenSet = true; m_modalityRouting = std::forward<ModalityRoutingT>(value); }
90 template<typename ModalityRoutingT = ModalityRoutingConfiguration>
91 OverrideConfiguration& WithModalityRouting(ModalityRoutingT&& value) { SetModalityRouting(std::forward<ModalityRoutingT>(value)); return *this;}
93 private:
94
96 bool m_documentHasBeenSet = false;
97
99 bool m_imageHasBeenSet = false;
100
102 bool m_videoHasBeenSet = false;
103
105 bool m_audioHasBeenSet = false;
106
107 ModalityRoutingConfiguration m_modalityRouting;
108 bool m_modalityRoutingHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace BedrockDataAutomation
113} // 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