AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/InlineContent.h>
10#include <aws/bedrock-agent/model/CustomS3Location.h>
11#include <aws/bedrock-agent/model/CustomSourceType.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
62 inline const InlineContent& GetInlineContent() const { return m_inlineContent; }
63 inline bool InlineContentHasBeenSet() const { return m_inlineContentHasBeenSet; }
64 template<typename InlineContentT = InlineContent>
65 void SetInlineContent(InlineContentT&& value) { m_inlineContentHasBeenSet = true; m_inlineContent = std::forward<InlineContentT>(value); }
66 template<typename InlineContentT = InlineContent>
67 CustomContent& WithInlineContent(InlineContentT&& value) { SetInlineContent(std::forward<InlineContentT>(value)); return *this;}
69
71
75 inline const CustomS3Location& GetS3Location() const { return m_s3Location; }
76 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
77 template<typename S3LocationT = CustomS3Location>
78 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
79 template<typename S3LocationT = CustomS3Location>
80 CustomContent& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(value)); return *this;}
82
84
87 inline CustomSourceType GetSourceType() const { return m_sourceType; }
88 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
89 inline void SetSourceType(CustomSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
90 inline CustomContent& WithSourceType(CustomSourceType value) { SetSourceType(value); return *this;}
92 private:
93
94 CustomDocumentIdentifier m_customDocumentIdentifier;
95 bool m_customDocumentIdentifierHasBeenSet = false;
96
97 InlineContent m_inlineContent;
98 bool m_inlineContentHasBeenSet = false;
99
100 CustomS3Location m_s3Location;
101 bool m_s3LocationHasBeenSet = false;
102
104 bool m_sourceTypeHasBeenSet = 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