AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
AutomatedReasoningCheckTranslationOption.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/AutomatedReasoningCheckTranslation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API AutomatedReasoningCheckTranslationOption() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<AutomatedReasoningCheckTranslation>& GetTranslations() const { return m_translations; }
48 inline bool TranslationsHasBeenSet() const { return m_translationsHasBeenSet; }
49 template<typename TranslationsT = Aws::Vector<AutomatedReasoningCheckTranslation>>
50 void SetTranslations(TranslationsT&& value) { m_translationsHasBeenSet = true; m_translations = std::forward<TranslationsT>(value); }
51 template<typename TranslationsT = Aws::Vector<AutomatedReasoningCheckTranslation>>
52 AutomatedReasoningCheckTranslationOption& WithTranslations(TranslationsT&& value) { SetTranslations(std::forward<TranslationsT>(value)); return *this;}
53 template<typename TranslationsT = AutomatedReasoningCheckTranslation>
54 AutomatedReasoningCheckTranslationOption& AddTranslations(TranslationsT&& value) { m_translationsHasBeenSet = true; m_translations.emplace_back(std::forward<TranslationsT>(value)); return *this; }
56 private:
57
59 bool m_translationsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Bedrock
64} // 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