AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExperimentLogConfiguration.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/ExperimentCloudWatchLogsLogConfiguration.h>
9#include <aws/fis/model/ExperimentS3LogConfiguration.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 FIS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FIS_API ExperimentLogConfiguration() = default;
40
41
43
46 inline const ExperimentCloudWatchLogsLogConfiguration& GetCloudWatchLogsConfiguration() const { return m_cloudWatchLogsConfiguration; }
47 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
48 template<typename CloudWatchLogsConfigurationT = ExperimentCloudWatchLogsLogConfiguration>
49 void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::forward<CloudWatchLogsConfigurationT>(value); }
50 template<typename CloudWatchLogsConfigurationT = ExperimentCloudWatchLogsLogConfiguration>
51 ExperimentLogConfiguration& WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { SetCloudWatchLogsConfiguration(std::forward<CloudWatchLogsConfigurationT>(value)); return *this;}
53
55
58 inline const ExperimentS3LogConfiguration& GetS3Configuration() const { return m_s3Configuration; }
59 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
60 template<typename S3ConfigurationT = ExperimentS3LogConfiguration>
61 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
62 template<typename S3ConfigurationT = ExperimentS3LogConfiguration>
63 ExperimentLogConfiguration& WithS3Configuration(S3ConfigurationT&& value) { SetS3Configuration(std::forward<S3ConfigurationT>(value)); return *this;}
65
67
70 inline int GetLogSchemaVersion() const { return m_logSchemaVersion; }
71 inline bool LogSchemaVersionHasBeenSet() const { return m_logSchemaVersionHasBeenSet; }
72 inline void SetLogSchemaVersion(int value) { m_logSchemaVersionHasBeenSet = true; m_logSchemaVersion = value; }
73 inline ExperimentLogConfiguration& WithLogSchemaVersion(int value) { SetLogSchemaVersion(value); return *this;}
75 private:
76
77 ExperimentCloudWatchLogsLogConfiguration m_cloudWatchLogsConfiguration;
78 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
79
80 ExperimentS3LogConfiguration m_s3Configuration;
81 bool m_s3ConfigurationHasBeenSet = false;
82
83 int m_logSchemaVersion{0};
84 bool m_logSchemaVersionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace FIS
89} // namespace Aws
const ExperimentCloudWatchLogsLogConfiguration & GetCloudWatchLogsConfiguration() const
AWS_FIS_API ExperimentLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExperimentLogConfiguration & WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentLogConfiguration & WithS3Configuration(S3ConfigurationT &&value)
AWS_FIS_API ExperimentLogConfiguration()=default
ExperimentLogConfiguration & WithLogSchemaVersion(int value)
AWS_FIS_API ExperimentLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExperimentS3LogConfiguration & GetS3Configuration() const
Aws::Utils::Json::JsonValue JsonValue