AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
AudioLanguageConfiguration.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/AudioGenerativeOutputLanguage.h>
9#include <aws/bedrock-data-automation/model/Language.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockDataAutomation {
22namespace Model {
23
31 public:
32 AWS_BEDROCKDATAAUTOMATION_API AudioLanguageConfiguration() = default;
35 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Aws::Vector<Language>& GetInputLanguages() const { return m_inputLanguages; }
40 inline bool InputLanguagesHasBeenSet() const { return m_inputLanguagesHasBeenSet; }
41 template <typename InputLanguagesT = Aws::Vector<Language>>
43 m_inputLanguagesHasBeenSet = true;
44 m_inputLanguages = std::forward<InputLanguagesT>(value);
45 }
46 template <typename InputLanguagesT = Aws::Vector<Language>>
48 SetInputLanguages(std::forward<InputLanguagesT>(value));
49 return *this;
50 }
52 m_inputLanguagesHasBeenSet = true;
53 m_inputLanguages.push_back(value);
54 return *this;
55 }
57
59
60 inline AudioGenerativeOutputLanguage GetGenerativeOutputLanguage() const { return m_generativeOutputLanguage; }
61 inline bool GenerativeOutputLanguageHasBeenSet() const { return m_generativeOutputLanguageHasBeenSet; }
63 m_generativeOutputLanguageHasBeenSet = true;
64 m_generativeOutputLanguage = value;
65 }
68 return *this;
69 }
71
73
76 inline bool GetIdentifyMultipleLanguages() const { return m_identifyMultipleLanguages; }
77 inline bool IdentifyMultipleLanguagesHasBeenSet() const { return m_identifyMultipleLanguagesHasBeenSet; }
78 inline void SetIdentifyMultipleLanguages(bool value) {
79 m_identifyMultipleLanguagesHasBeenSet = true;
80 m_identifyMultipleLanguages = value;
81 }
84 return *this;
85 }
87 private:
88 Aws::Vector<Language> m_inputLanguages;
89
91
92 bool m_identifyMultipleLanguages{false};
93 bool m_inputLanguagesHasBeenSet = false;
94 bool m_generativeOutputLanguageHasBeenSet = false;
95 bool m_identifyMultipleLanguagesHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace BedrockDataAutomation
100} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API AudioLanguageConfiguration()=default
AWS_BEDROCKDATAAUTOMATION_API AudioLanguageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioLanguageConfiguration & WithGenerativeOutputLanguage(AudioGenerativeOutputLanguage value)
AudioLanguageConfiguration & WithInputLanguages(InputLanguagesT &&value)
AWS_BEDROCKDATAAUTOMATION_API AudioLanguageConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue