AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DocumentExtractionGranularity.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-data-automation/model/DocumentExtractionGranularityType.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 BedrockDataAutomation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKDATAAUTOMATION_API DocumentExtractionGranularity() = default;
36 AWS_BEDROCKDATAAUTOMATION_API DocumentExtractionGranularity(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKDATAAUTOMATION_API DocumentExtractionGranularity& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::Vector<DocumentExtractionGranularityType>& GetTypes() const { return m_types; }
44 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
45 template<typename TypesT = Aws::Vector<DocumentExtractionGranularityType>>
46 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
47 template<typename TypesT = Aws::Vector<DocumentExtractionGranularityType>>
48 DocumentExtractionGranularity& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
49 inline DocumentExtractionGranularity& AddTypes(DocumentExtractionGranularityType value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
51 private:
52
54 bool m_typesHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace BedrockDataAutomation
59} // namespace Aws
const Aws::Vector< DocumentExtractionGranularityType > & GetTypes() const
AWS_BEDROCKDATAAUTOMATION_API DocumentExtractionGranularity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API DocumentExtractionGranularity(Aws::Utils::Json::JsonView jsonValue)
DocumentExtractionGranularity & AddTypes(DocumentExtractionGranularityType value)
AWS_BEDROCKDATAAUTOMATION_API DocumentExtractionGranularity()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue