AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 CloudWatchConfig();
36 AWS_BEDROCK_API CloudWatchConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
46 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
47 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
48 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
49 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
50 inline CloudWatchConfig& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
51 inline CloudWatchConfig& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
52 inline CloudWatchConfig& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
54
56
59 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
60 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
61 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
62 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
63 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
64 inline CloudWatchConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
65 inline CloudWatchConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
66 inline CloudWatchConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
68
70
73 inline const S3Config& GetLargeDataDeliveryS3Config() const{ return m_largeDataDeliveryS3Config; }
74 inline bool LargeDataDeliveryS3ConfigHasBeenSet() const { return m_largeDataDeliveryS3ConfigHasBeenSet; }
75 inline void SetLargeDataDeliveryS3Config(const S3Config& value) { m_largeDataDeliveryS3ConfigHasBeenSet = true; m_largeDataDeliveryS3Config = value; }
76 inline void SetLargeDataDeliveryS3Config(S3Config&& value) { m_largeDataDeliveryS3ConfigHasBeenSet = true; m_largeDataDeliveryS3Config = std::move(value); }
78 inline CloudWatchConfig& WithLargeDataDeliveryS3Config(S3Config&& value) { SetLargeDataDeliveryS3Config(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_logGroupName;
83 bool m_logGroupNameHasBeenSet = false;
84
85 Aws::String m_roleArn;
86 bool m_roleArnHasBeenSet = false;
87
88 S3Config m_largeDataDeliveryS3Config;
89 bool m_largeDataDeliveryS3ConfigHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Bedrock
94} // namespace Aws
const S3Config & GetLargeDataDeliveryS3Config() const
const Aws::String & GetLogGroupName() const
CloudWatchConfig & WithLargeDataDeliveryS3Config(S3Config &&value)
CloudWatchConfig & WithRoleArn(const char *value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupName(const char *value)
void SetLargeDataDeliveryS3Config(S3Config &&value)
CloudWatchConfig & WithRoleArn(const Aws::String &value)
void SetLargeDataDeliveryS3Config(const S3Config &value)
void SetRoleArn(const Aws::String &value)
CloudWatchConfig & WithLogGroupName(Aws::String &&value)
CloudWatchConfig & WithLogGroupName(const Aws::String &value)
void SetLogGroupName(Aws::String &&value)
const Aws::String & GetRoleArn() const
CloudWatchConfig & WithLargeDataDeliveryS3Config(const S3Config &value)
AWS_BEDROCK_API CloudWatchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(Aws::String &&value)
void SetLogGroupName(const Aws::String &value)
AWS_BEDROCK_API CloudWatchConfig(Aws::Utils::Json::JsonView jsonValue)
CloudWatchConfig & WithLogGroupName(const char *value)
CloudWatchConfig & WithRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue