AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentTemplateLogConfiguration.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/ExperimentTemplateCloudWatchLogsLogConfiguration.h>
9#include <aws/fis/model/ExperimentTemplateS3LogConfiguration.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 ExperimentTemplateCloudWatchLogsLogConfiguration& GetCloudWatchLogsConfiguration() const{ return m_cloudWatchLogsConfiguration; }
47 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
48 inline void SetCloudWatchLogsConfiguration(const ExperimentTemplateCloudWatchLogsLogConfiguration& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = value; }
49 inline void SetCloudWatchLogsConfiguration(ExperimentTemplateCloudWatchLogsLogConfiguration&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::move(value); }
53
55
58 inline const ExperimentTemplateS3LogConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
59 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
60 inline void SetS3Configuration(const ExperimentTemplateS3LogConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
61 inline void SetS3Configuration(ExperimentTemplateS3LogConfiguration&& 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; }
75 private:
76
77 ExperimentTemplateCloudWatchLogsLogConfiguration m_cloudWatchLogsConfiguration;
78 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
79
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
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIS_API ExperimentTemplateLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateLogConfiguration & WithLogSchemaVersion(int value)
const ExperimentTemplateS3LogConfiguration & GetS3Configuration() const
void SetS3Configuration(const ExperimentTemplateS3LogConfiguration &value)
void SetCloudWatchLogsConfiguration(const ExperimentTemplateCloudWatchLogsLogConfiguration &value)
void SetS3Configuration(ExperimentTemplateS3LogConfiguration &&value)
const ExperimentTemplateCloudWatchLogsLogConfiguration & GetCloudWatchLogsConfiguration() const
ExperimentTemplateLogConfiguration & WithCloudWatchLogsConfiguration(const ExperimentTemplateCloudWatchLogsLogConfiguration &value)
void SetCloudWatchLogsConfiguration(ExperimentTemplateCloudWatchLogsLogConfiguration &&value)
AWS_FIS_API ExperimentTemplateLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateLogConfiguration & WithS3Configuration(const ExperimentTemplateS3LogConfiguration &value)
ExperimentTemplateLogConfiguration & WithCloudWatchLogsConfiguration(ExperimentTemplateCloudWatchLogsLogConfiguration &&value)
ExperimentTemplateLogConfiguration & WithS3Configuration(ExperimentTemplateS3LogConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue