AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCloudWatchConfig(const CloudWatchConfig& value) { m_cloudWatchConfigHasBeenSet = true; m_cloudWatchConfig = value; }
48 inline void SetCloudWatchConfig(CloudWatchConfig&& value) { m_cloudWatchConfigHasBeenSet = true; m_cloudWatchConfig = std::move(value); }
49 inline LoggingConfig& WithCloudWatchConfig(const CloudWatchConfig& value) { SetCloudWatchConfig(value); return *this;}
50 inline LoggingConfig& WithCloudWatchConfig(CloudWatchConfig&& value) { SetCloudWatchConfig(std::move(value)); return *this;}
52
54
57 inline const S3Config& GetS3Config() const{ return m_s3Config; }
58 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
59 inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; }
60 inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); }
61 inline LoggingConfig& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
62 inline LoggingConfig& WithS3Config(S3Config&& value) { SetS3Config(std::move(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 private:
95
96 CloudWatchConfig m_cloudWatchConfig;
97 bool m_cloudWatchConfigHasBeenSet = false;
98
99 S3Config m_s3Config;
100 bool m_s3ConfigHasBeenSet = false;
101
102 bool m_textDataDeliveryEnabled;
103 bool m_textDataDeliveryEnabledHasBeenSet = false;
104
105 bool m_imageDataDeliveryEnabled;
106 bool m_imageDataDeliveryEnabledHasBeenSet = false;
107
108 bool m_embeddingDataDeliveryEnabled;
109 bool m_embeddingDataDeliveryEnabledHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Bedrock
114} // namespace Aws
AWS_BEDROCK_API LoggingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfig & WithS3Config(S3Config &&value)
AWS_BEDROCK_API LoggingConfig(Aws::Utils::Json::JsonView jsonValue)
void SetS3Config(S3Config &&value)
void SetCloudWatchConfig(CloudWatchConfig &&value)
void SetTextDataDeliveryEnabled(bool value)
void SetS3Config(const S3Config &value)
bool EmbeddingDataDeliveryEnabledHasBeenSet() const
LoggingConfig & WithImageDataDeliveryEnabled(bool value)
LoggingConfig & WithCloudWatchConfig(const CloudWatchConfig &value)
LoggingConfig & WithS3Config(const S3Config &value)
const CloudWatchConfig & GetCloudWatchConfig() const
const S3Config & GetS3Config() const
LoggingConfig & WithCloudWatchConfig(CloudWatchConfig &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCloudWatchConfig(const CloudWatchConfig &value)
LoggingConfig & WithEmbeddingDataDeliveryEnabled(bool value)
void SetEmbeddingDataDeliveryEnabled(bool value)
LoggingConfig & WithTextDataDeliveryEnabled(bool value)
void SetImageDataDeliveryEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue