AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogsConfig.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/CloudWatchLogsConfig.h>
9#include <aws/codebuild/model/S3LogsConfig.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 CodeBuild
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEBUILD_API LogsConfig();
37 AWS_CODEBUILD_API LogsConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEBUILD_API LogsConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const CloudWatchLogsConfig& GetCloudWatchLogs() const{ return m_cloudWatchLogs; }
48 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
49 inline void SetCloudWatchLogs(const CloudWatchLogsConfig& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
50 inline void SetCloudWatchLogs(CloudWatchLogsConfig&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
51 inline LogsConfig& WithCloudWatchLogs(const CloudWatchLogsConfig& value) { SetCloudWatchLogs(value); return *this;}
52 inline LogsConfig& WithCloudWatchLogs(CloudWatchLogsConfig&& value) { SetCloudWatchLogs(std::move(value)); return *this;}
54
56
60 inline const S3LogsConfig& GetS3Logs() const{ return m_s3Logs; }
61 inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; }
62 inline void SetS3Logs(const S3LogsConfig& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; }
63 inline void SetS3Logs(S3LogsConfig&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); }
64 inline LogsConfig& WithS3Logs(const S3LogsConfig& value) { SetS3Logs(value); return *this;}
65 inline LogsConfig& WithS3Logs(S3LogsConfig&& value) { SetS3Logs(std::move(value)); return *this;}
67 private:
68
69 CloudWatchLogsConfig m_cloudWatchLogs;
70 bool m_cloudWatchLogsHasBeenSet = false;
71
72 S3LogsConfig m_s3Logs;
73 bool m_s3LogsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodeBuild
78} // namespace Aws
AWS_CODEBUILD_API LogsConfig(Aws::Utils::Json::JsonView jsonValue)
const S3LogsConfig & GetS3Logs() const
Definition LogsConfig.h:60
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
LogsConfig & WithCloudWatchLogs(const CloudWatchLogsConfig &value)
Definition LogsConfig.h:51
const CloudWatchLogsConfig & GetCloudWatchLogs() const
Definition LogsConfig.h:47
LogsConfig & WithS3Logs(const S3LogsConfig &value)
Definition LogsConfig.h:64
void SetCloudWatchLogs(CloudWatchLogsConfig &&value)
Definition LogsConfig.h:50
AWS_CODEBUILD_API LogsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Logs(S3LogsConfig &&value)
Definition LogsConfig.h:63
LogsConfig & WithS3Logs(S3LogsConfig &&value)
Definition LogsConfig.h:65
void SetCloudWatchLogs(const CloudWatchLogsConfig &value)
Definition LogsConfig.h:49
AWS_CODEBUILD_API LogsConfig()
void SetS3Logs(const S3LogsConfig &value)
Definition LogsConfig.h:62
LogsConfig & WithCloudWatchLogs(CloudWatchLogsConfig &&value)
Definition LogsConfig.h:52
Aws::Utils::Json::JsonValue JsonValue