AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_FIS_API ExperimentTemplateLogConfiguration() = default;
40
41
43
46 inline const ExperimentTemplateCloudWatchLogsLogConfiguration& GetCloudWatchLogsConfiguration() const { return m_cloudWatchLogsConfiguration; }
47 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
48 template<typename CloudWatchLogsConfigurationT = ExperimentTemplateCloudWatchLogsLogConfiguration>
49 void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::forward<CloudWatchLogsConfigurationT>(value); }
50 template<typename CloudWatchLogsConfigurationT = ExperimentTemplateCloudWatchLogsLogConfiguration>
51 ExperimentTemplateLogConfiguration& WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { SetCloudWatchLogsConfiguration(std::forward<CloudWatchLogsConfigurationT>(value)); return *this;}
53
55
58 inline const ExperimentTemplateS3LogConfiguration& GetS3Configuration() const { return m_s3Configuration; }
59 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
60 template<typename S3ConfigurationT = ExperimentTemplateS3LogConfiguration>
61 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
62 template<typename S3ConfigurationT = ExperimentTemplateS3LogConfiguration>
63 ExperimentTemplateLogConfiguration& 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; }
75 private:
76
77 ExperimentTemplateCloudWatchLogsLogConfiguration m_cloudWatchLogsConfiguration;
78 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
79
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
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIS_API ExperimentTemplateLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
ExperimentTemplateLogConfiguration & WithLogSchemaVersion(int value)
const ExperimentTemplateS3LogConfiguration & GetS3Configuration() const
const ExperimentTemplateCloudWatchLogsLogConfiguration & GetCloudWatchLogsConfiguration() const
ExperimentTemplateLogConfiguration & WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
AWS_FIS_API ExperimentTemplateLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateLogConfiguration & WithS3Configuration(S3ConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue