AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DocumentOutputTextFormat.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/DocumentOutputTextFormatType.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 BedrockDataAutomation {
21namespace Model {
22
29 public:
30 AWS_BEDROCKDATAAUTOMATION_API DocumentOutputTextFormat() = default;
31 AWS_BEDROCKDATAAUTOMATION_API DocumentOutputTextFormat(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKDATAAUTOMATION_API DocumentOutputTextFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::Vector<DocumentOutputTextFormatType>& GetTypes() const { return m_types; }
38 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
39 template <typename TypesT = Aws::Vector<DocumentOutputTextFormatType>>
40 void SetTypes(TypesT&& value) {
41 m_typesHasBeenSet = true;
42 m_types = std::forward<TypesT>(value);
43 }
44 template <typename TypesT = Aws::Vector<DocumentOutputTextFormatType>>
46 SetTypes(std::forward<TypesT>(value));
47 return *this;
48 }
50 m_typesHasBeenSet = true;
51 m_types.push_back(value);
52 return *this;
53 }
55 private:
57 bool m_typesHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace BedrockDataAutomation
62} // namespace Aws
DocumentOutputTextFormat & AddTypes(DocumentOutputTextFormatType value)
AWS_BEDROCKDATAAUTOMATION_API DocumentOutputTextFormat(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DocumentOutputTextFormatType > & GetTypes() const
AWS_BEDROCKDATAAUTOMATION_API DocumentOutputTextFormat()=default
AWS_BEDROCKDATAAUTOMATION_API DocumentOutputTextFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue