AWS SDK for C++

AWS SDK for C++ Version 1.11.635

Loading...
Searching...
No Matches
CustomContent.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/CustomDocumentIdentifier.h>
9#include <aws/bedrock-agent/model/CustomSourceType.h>
10#include <aws/bedrock-agent/model/CustomS3Location.h>
11#include <aws/bedrock-agent/model/InlineContent.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_BEDROCKAGENT_API CustomContent() = default;
40 AWS_BEDROCKAGENT_API CustomContent(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API CustomContent& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const CustomDocumentIdentifier& GetCustomDocumentIdentifier() const { return m_customDocumentIdentifier; }
50 inline bool CustomDocumentIdentifierHasBeenSet() const { return m_customDocumentIdentifierHasBeenSet; }
51 template<typename CustomDocumentIdentifierT = CustomDocumentIdentifier>
52 void SetCustomDocumentIdentifier(CustomDocumentIdentifierT&& value) { m_customDocumentIdentifierHasBeenSet = true; m_customDocumentIdentifier = std::forward<CustomDocumentIdentifierT>(value); }
53 template<typename CustomDocumentIdentifierT = CustomDocumentIdentifier>
54 CustomContent& WithCustomDocumentIdentifier(CustomDocumentIdentifierT&& value) { SetCustomDocumentIdentifier(std::forward<CustomDocumentIdentifierT>(value)); return *this;}
56
58
61 inline CustomSourceType GetSourceType() const { return m_sourceType; }
62 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
63 inline void SetSourceType(CustomSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
64 inline CustomContent& WithSourceType(CustomSourceType value) { SetSourceType(value); return *this;}
66
68
72 inline const CustomS3Location& GetS3Location() const { return m_s3Location; }
73 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
74 template<typename S3LocationT = CustomS3Location>
75 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
76 template<typename S3LocationT = CustomS3Location>
77 CustomContent& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(value)); return *this;}
79
81
85 inline const InlineContent& GetInlineContent() const { return m_inlineContent; }
86 inline bool InlineContentHasBeenSet() const { return m_inlineContentHasBeenSet; }
87 template<typename InlineContentT = InlineContent>
88 void SetInlineContent(InlineContentT&& value) { m_inlineContentHasBeenSet = true; m_inlineContent = std::forward<InlineContentT>(value); }
89 template<typename InlineContentT = InlineContent>
90 CustomContent& WithInlineContent(InlineContentT&& value) { SetInlineContent(std::forward<InlineContentT>(value)); return *this;}
92 private:
93
94 CustomDocumentIdentifier m_customDocumentIdentifier;
95 bool m_customDocumentIdentifierHasBeenSet = false;
96
98 bool m_sourceTypeHasBeenSet = false;
99
100 CustomS3Location m_s3Location;
101 bool m_s3LocationHasBeenSet = false;
102
103 InlineContent m_inlineContent;
104 bool m_inlineContentHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace BedrockAgent
109} // namespace Aws
const InlineContent & GetInlineContent() const
CustomContent & WithCustomDocumentIdentifier(CustomDocumentIdentifierT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomSourceType GetSourceType() const
AWS_BEDROCKAGENT_API CustomContent(Aws::Utils::Json::JsonView jsonValue)
CustomContent & WithInlineContent(InlineContentT &&value)
const CustomDocumentIdentifier & GetCustomDocumentIdentifier() const
CustomContent & WithS3Location(S3LocationT &&value)
void SetS3Location(S3LocationT &&value)
const CustomS3Location & GetS3Location() const
void SetCustomDocumentIdentifier(CustomDocumentIdentifierT &&value)
void SetSourceType(CustomSourceType value)
CustomContent & WithSourceType(CustomSourceType value)
AWS_BEDROCKAGENT_API CustomContent()=default
void SetInlineContent(InlineContentT &&value)
AWS_BEDROCKAGENT_API CustomContent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue