AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
LoggingConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CloudWatchConfig.h>
9#include <aws/bedrock/model/S3Config.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
29 public:
30 AWS_BEDROCK_API LoggingConfig() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const CloudWatchConfig& GetCloudWatchConfig() const { return m_cloudWatchConfig; }
40 inline bool CloudWatchConfigHasBeenSet() const { return m_cloudWatchConfigHasBeenSet; }
41 template <typename CloudWatchConfigT = CloudWatchConfig>
43 m_cloudWatchConfigHasBeenSet = true;
44 m_cloudWatchConfig = std::forward<CloudWatchConfigT>(value);
45 }
46 template <typename CloudWatchConfigT = CloudWatchConfig>
48 SetCloudWatchConfig(std::forward<CloudWatchConfigT>(value));
49 return *this;
50 }
52
54
57 inline const S3Config& GetS3Config() const { return m_s3Config; }
58 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
59 template <typename S3ConfigT = S3Config>
60 void SetS3Config(S3ConfigT&& value) {
61 m_s3ConfigHasBeenSet = true;
62 m_s3Config = std::forward<S3ConfigT>(value);
63 }
64 template <typename S3ConfigT = S3Config>
66 SetS3Config(std::forward<S3ConfigT>(value));
67 return *this;
68 }
70
72
75 inline bool GetTextDataDeliveryEnabled() const { return m_textDataDeliveryEnabled; }
76 inline bool TextDataDeliveryEnabledHasBeenSet() const { return m_textDataDeliveryEnabledHasBeenSet; }
77 inline void SetTextDataDeliveryEnabled(bool value) {
78 m_textDataDeliveryEnabledHasBeenSet = true;
79 m_textDataDeliveryEnabled = value;
80 }
83 return *this;
84 }
86
88
91 inline bool GetImageDataDeliveryEnabled() const { return m_imageDataDeliveryEnabled; }
92 inline bool ImageDataDeliveryEnabledHasBeenSet() const { return m_imageDataDeliveryEnabledHasBeenSet; }
93 inline void SetImageDataDeliveryEnabled(bool value) {
94 m_imageDataDeliveryEnabledHasBeenSet = true;
95 m_imageDataDeliveryEnabled = value;
96 }
99 return *this;
100 }
102
104
107 inline bool GetEmbeddingDataDeliveryEnabled() const { return m_embeddingDataDeliveryEnabled; }
108 inline bool EmbeddingDataDeliveryEnabledHasBeenSet() const { return m_embeddingDataDeliveryEnabledHasBeenSet; }
109 inline void SetEmbeddingDataDeliveryEnabled(bool value) {
110 m_embeddingDataDeliveryEnabledHasBeenSet = true;
111 m_embeddingDataDeliveryEnabled = value;
112 }
115 return *this;
116 }
118
120
123 inline bool GetVideoDataDeliveryEnabled() const { return m_videoDataDeliveryEnabled; }
124 inline bool VideoDataDeliveryEnabledHasBeenSet() const { return m_videoDataDeliveryEnabledHasBeenSet; }
125 inline void SetVideoDataDeliveryEnabled(bool value) {
126 m_videoDataDeliveryEnabledHasBeenSet = true;
127 m_videoDataDeliveryEnabled = value;
128 }
131 return *this;
132 }
134
136
139 inline bool GetAudioDataDeliveryEnabled() const { return m_audioDataDeliveryEnabled; }
140 inline bool AudioDataDeliveryEnabledHasBeenSet() const { return m_audioDataDeliveryEnabledHasBeenSet; }
141 inline void SetAudioDataDeliveryEnabled(bool value) {
142 m_audioDataDeliveryEnabledHasBeenSet = true;
143 m_audioDataDeliveryEnabled = value;
144 }
147 return *this;
148 }
150 private:
151 CloudWatchConfig m_cloudWatchConfig;
152
153 S3Config m_s3Config;
154
155 bool m_textDataDeliveryEnabled{false};
156
157 bool m_imageDataDeliveryEnabled{false};
158
159 bool m_embeddingDataDeliveryEnabled{false};
160
161 bool m_videoDataDeliveryEnabled{false};
162
163 bool m_audioDataDeliveryEnabled{false};
164 bool m_cloudWatchConfigHasBeenSet = false;
165 bool m_s3ConfigHasBeenSet = false;
166 bool m_textDataDeliveryEnabledHasBeenSet = false;
167 bool m_imageDataDeliveryEnabledHasBeenSet = false;
168 bool m_embeddingDataDeliveryEnabledHasBeenSet = false;
169 bool m_videoDataDeliveryEnabledHasBeenSet = false;
170 bool m_audioDataDeliveryEnabledHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace Bedrock
175} // namespace Aws
void SetVideoDataDeliveryEnabled(bool value)
void SetS3Config(S3ConfigT &&value)
AWS_BEDROCK_API LoggingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API LoggingConfig(Aws::Utils::Json::JsonView jsonValue)
LoggingConfig & WithS3Config(S3ConfigT &&value)
LoggingConfig & WithCloudWatchConfig(CloudWatchConfigT &&value)
void SetTextDataDeliveryEnabled(bool value)
bool EmbeddingDataDeliveryEnabledHasBeenSet() const
void SetAudioDataDeliveryEnabled(bool value)
LoggingConfig & WithVideoDataDeliveryEnabled(bool value)
LoggingConfig & WithImageDataDeliveryEnabled(bool value)
LoggingConfig & WithAudioDataDeliveryEnabled(bool value)
AWS_BEDROCK_API LoggingConfig()=default
const CloudWatchConfig & GetCloudWatchConfig() const
void SetCloudWatchConfig(CloudWatchConfigT &&value)
const S3Config & GetS3Config() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
LoggingConfig & WithEmbeddingDataDeliveryEnabled(bool value)
void SetEmbeddingDataDeliveryEnabled(bool value)
LoggingConfig & WithTextDataDeliveryEnabled(bool value)
void SetImageDataDeliveryEnabled(bool value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue