AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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#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 Bedrock
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCK_API LoggingConfig() = default;
36 AWS_BEDROCK_API LoggingConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const CloudWatchConfig& GetCloudWatchConfig() const { return m_cloudWatchConfig; }
46 inline bool CloudWatchConfigHasBeenSet() const { return m_cloudWatchConfigHasBeenSet; }
47 template<typename CloudWatchConfigT = CloudWatchConfig>
48 void SetCloudWatchConfig(CloudWatchConfigT&& value) { m_cloudWatchConfigHasBeenSet = true; m_cloudWatchConfig = std::forward<CloudWatchConfigT>(value); }
49 template<typename CloudWatchConfigT = CloudWatchConfig>
50 LoggingConfig& WithCloudWatchConfig(CloudWatchConfigT&& value) { SetCloudWatchConfig(std::forward<CloudWatchConfigT>(value)); return *this;}
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) { m_s3ConfigHasBeenSet = true; m_s3Config = std::forward<S3ConfigT>(value); }
61 template<typename S3ConfigT = S3Config>
62 LoggingConfig& WithS3Config(S3ConfigT&& value) { SetS3Config(std::forward<S3ConfigT>(value)); return *this;}
64
66
69 inline bool GetTextDataDeliveryEnabled() const { return m_textDataDeliveryEnabled; }
70 inline bool TextDataDeliveryEnabledHasBeenSet() const { return m_textDataDeliveryEnabledHasBeenSet; }
71 inline void SetTextDataDeliveryEnabled(bool value) { m_textDataDeliveryEnabledHasBeenSet = true; m_textDataDeliveryEnabled = value; }
72 inline LoggingConfig& WithTextDataDeliveryEnabled(bool value) { SetTextDataDeliveryEnabled(value); return *this;}
74
76
79 inline bool GetImageDataDeliveryEnabled() const { return m_imageDataDeliveryEnabled; }
80 inline bool ImageDataDeliveryEnabledHasBeenSet() const { return m_imageDataDeliveryEnabledHasBeenSet; }
81 inline void SetImageDataDeliveryEnabled(bool value) { m_imageDataDeliveryEnabledHasBeenSet = true; m_imageDataDeliveryEnabled = value; }
82 inline LoggingConfig& WithImageDataDeliveryEnabled(bool value) { SetImageDataDeliveryEnabled(value); return *this;}
84
86
89 inline bool GetEmbeddingDataDeliveryEnabled() const { return m_embeddingDataDeliveryEnabled; }
90 inline bool EmbeddingDataDeliveryEnabledHasBeenSet() const { return m_embeddingDataDeliveryEnabledHasBeenSet; }
91 inline void SetEmbeddingDataDeliveryEnabled(bool value) { m_embeddingDataDeliveryEnabledHasBeenSet = true; m_embeddingDataDeliveryEnabled = value; }
94
96
99 inline bool GetVideoDataDeliveryEnabled() const { return m_videoDataDeliveryEnabled; }
100 inline bool VideoDataDeliveryEnabledHasBeenSet() const { return m_videoDataDeliveryEnabledHasBeenSet; }
101 inline void SetVideoDataDeliveryEnabled(bool value) { m_videoDataDeliveryEnabledHasBeenSet = true; m_videoDataDeliveryEnabled = value; }
102 inline LoggingConfig& WithVideoDataDeliveryEnabled(bool value) { SetVideoDataDeliveryEnabled(value); return *this;}
104 private:
105
106 CloudWatchConfig m_cloudWatchConfig;
107 bool m_cloudWatchConfigHasBeenSet = false;
108
109 S3Config m_s3Config;
110 bool m_s3ConfigHasBeenSet = false;
111
112 bool m_textDataDeliveryEnabled{false};
113 bool m_textDataDeliveryEnabledHasBeenSet = false;
114
115 bool m_imageDataDeliveryEnabled{false};
116 bool m_imageDataDeliveryEnabledHasBeenSet = false;
117
118 bool m_embeddingDataDeliveryEnabled{false};
119 bool m_embeddingDataDeliveryEnabledHasBeenSet = false;
120
121 bool m_videoDataDeliveryEnabled{false};
122 bool m_videoDataDeliveryEnabledHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Bedrock
127} // 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
LoggingConfig & WithVideoDataDeliveryEnabled(bool value)
LoggingConfig & WithImageDataDeliveryEnabled(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)
Aws::Utils::Json::JsonValue JsonValue