AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const ExperimentCloudWatchLogsLogConfiguration& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; }
47 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
48 inline void SetCloudWatchLogsConfiguration(const ExperimentCloudWatchLogsLogConfiguration& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = value; }
49 inline void SetCloudWatchLogsConfiguration(ExperimentCloudWatchLogsLogConfiguration&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::move(value); }
53
55
58 inline const ExperimentS3LogConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
59 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
60 inline void SetS3Configuration(const ExperimentS3LogConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
61 inline void SetS3Configuration(ExperimentS3LogConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
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;
84 bool m_logSchemaVersionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace FIS
89} // namespace Aws
void SetS3Configuration(const ExperimentS3LogConfiguration &value)
const ExperimentCloudWatchLogsLogConfiguration & GetCloudWatchLogsConfiguration() const
void SetCloudWatchLogsConfiguration(ExperimentCloudWatchLogsLogConfiguration &&value)
void SetS3Configuration(ExperimentS3LogConfiguration &&value)
ExperimentLogConfiguration & WithCloudWatchLogsConfiguration(ExperimentCloudWatchLogsLogConfiguration &&value)
AWS_FIS_API ExperimentLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExperimentLogConfiguration & WithS3Configuration(const ExperimentS3LogConfiguration &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCloudWatchLogsConfiguration(const ExperimentCloudWatchLogsLogConfiguration &value)
ExperimentLogConfiguration & WithS3Configuration(ExperimentS3LogConfiguration &&value)
ExperimentLogConfiguration & WithLogSchemaVersion(int value)
AWS_FIS_API ExperimentLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExperimentS3LogConfiguration & GetS3Configuration() const
ExperimentLogConfiguration & WithCloudWatchLogsConfiguration(const ExperimentCloudWatchLogsLogConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue