AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
AutomatedReasoningCheckTranslationOption.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningCheckTranslation.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
30 public:
31 AWS_BEDROCK_API AutomatedReasoningCheckTranslationOption() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<AutomatedReasoningCheckTranslation>& GetTranslations() const { return m_translations; }
42 inline bool TranslationsHasBeenSet() const { return m_translationsHasBeenSet; }
43 template <typename TranslationsT = Aws::Vector<AutomatedReasoningCheckTranslation>>
44 void SetTranslations(TranslationsT&& value) {
45 m_translationsHasBeenSet = true;
46 m_translations = std::forward<TranslationsT>(value);
47 }
48 template <typename TranslationsT = Aws::Vector<AutomatedReasoningCheckTranslation>>
50 SetTranslations(std::forward<TranslationsT>(value));
51 return *this;
52 }
53 template <typename TranslationsT = AutomatedReasoningCheckTranslation>
55 m_translationsHasBeenSet = true;
56 m_translations.emplace_back(std::forward<TranslationsT>(value));
57 return *this;
58 }
60 private:
62 bool m_translationsHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Bedrock
67} // namespace Aws
AWS_BEDROCK_API AutomatedReasoningCheckTranslationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AutomatedReasoningCheckTranslation > & GetTranslations() const
AutomatedReasoningCheckTranslationOption & AddTranslations(TranslationsT &&value)
AutomatedReasoningCheckTranslationOption & WithTranslations(TranslationsT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningCheckTranslationOption(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue