AWS SDK for C++

AWS SDK for C++ Version 1.11.774

Loading...
Searching...
No Matches
AutomatedReasoningPolicySourceDocument.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AutomatedReasoningPolicyBuildDocumentContentType.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
23
32 public:
33 AWS_BEDROCK_API AutomatedReasoningPolicySourceDocument() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::Utils::CryptoBuffer& GetDocument() const { return m_document; }
43 inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
44 template <typename DocumentT = Aws::Utils::CryptoBuffer>
45 void SetDocument(DocumentT&& value) {
46 m_documentHasBeenSet = true;
47 m_document = std::forward<DocumentT>(value);
48 }
49 template <typename DocumentT = Aws::Utils::CryptoBuffer>
51 SetDocument(std::forward<DocumentT>(value));
52 return *this;
53 }
55
57
60 inline AutomatedReasoningPolicyBuildDocumentContentType GetDocumentContentType() const { return m_documentContentType; }
61 inline bool DocumentContentTypeHasBeenSet() const { return m_documentContentTypeHasBeenSet; }
63 m_documentContentTypeHasBeenSet = true;
64 m_documentContentType = value;
65 }
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDocumentName() const { return m_documentName; }
77 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
78 template <typename DocumentNameT = Aws::String>
80 m_documentNameHasBeenSet = true;
81 m_documentName = std::forward<DocumentNameT>(value);
82 }
83 template <typename DocumentNameT = Aws::String>
85 SetDocumentName(std::forward<DocumentNameT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetDocumentDescription() const { return m_documentDescription; }
96 inline bool DocumentDescriptionHasBeenSet() const { return m_documentDescriptionHasBeenSet; }
97 template <typename DocumentDescriptionT = Aws::String>
99 m_documentDescriptionHasBeenSet = true;
100 m_documentDescription = std::forward<DocumentDescriptionT>(value);
101 }
102 template <typename DocumentDescriptionT = Aws::String>
104 SetDocumentDescription(std::forward<DocumentDescriptionT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetDocumentHash() const { return m_documentHash; }
115 inline bool DocumentHashHasBeenSet() const { return m_documentHashHasBeenSet; }
116 template <typename DocumentHashT = Aws::String>
118 m_documentHashHasBeenSet = true;
119 m_documentHash = std::forward<DocumentHashT>(value);
120 }
121 template <typename DocumentHashT = Aws::String>
123 SetDocumentHash(std::forward<DocumentHashT>(value));
124 return *this;
125 }
127 private:
128 Aws::Utils::CryptoBuffer m_document{};
129
131
132 Aws::String m_documentName;
133
134 Aws::String m_documentDescription;
135
136 Aws::String m_documentHash;
137 bool m_documentHasBeenSet = false;
138 bool m_documentContentTypeHasBeenSet = false;
139 bool m_documentNameHasBeenSet = false;
140 bool m_documentDescriptionHasBeenSet = false;
141 bool m_documentHashHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Bedrock
146} // namespace Aws
AutomatedReasoningPolicySourceDocument & WithDocumentName(DocumentNameT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicySourceDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API AutomatedReasoningPolicySourceDocument(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicySourceDocument & WithDocument(DocumentT &&value)
void SetDocumentContentType(AutomatedReasoningPolicyBuildDocumentContentType value)
AutomatedReasoningPolicySourceDocument & WithDocumentContentType(AutomatedReasoningPolicyBuildDocumentContentType value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedReasoningPolicySourceDocument & WithDocumentHash(DocumentHashT &&value)
AutomatedReasoningPolicySourceDocument & WithDocumentDescription(DocumentDescriptionT &&value)
AutomatedReasoningPolicyBuildDocumentContentType GetDocumentContentType() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue