AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace FIS {
21namespace Model {
22
30 public:
31 AWS_FIS_API ExperimentTemplateLogConfiguration() = default;
35
37
41 return m_cloudWatchLogsConfiguration;
42 }
43 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
44 template <typename CloudWatchLogsConfigurationT = ExperimentTemplateCloudWatchLogsLogConfiguration>
45 void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) {
46 m_cloudWatchLogsConfigurationHasBeenSet = true;
47 m_cloudWatchLogsConfiguration = std::forward<CloudWatchLogsConfigurationT>(value);
48 }
49 template <typename CloudWatchLogsConfigurationT = ExperimentTemplateCloudWatchLogsLogConfiguration>
51 SetCloudWatchLogsConfiguration(std::forward<CloudWatchLogsConfigurationT>(value));
52 return *this;
53 }
55
57
60 inline const ExperimentTemplateS3LogConfiguration& GetS3Configuration() const { return m_s3Configuration; }
61 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
62 template <typename S3ConfigurationT = ExperimentTemplateS3LogConfiguration>
63 void SetS3Configuration(S3ConfigurationT&& value) {
64 m_s3ConfigurationHasBeenSet = true;
65 m_s3Configuration = std::forward<S3ConfigurationT>(value);
66 }
67 template <typename S3ConfigurationT = ExperimentTemplateS3LogConfiguration>
69 SetS3Configuration(std::forward<S3ConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline int GetLogSchemaVersion() const { return m_logSchemaVersion; }
79 inline bool LogSchemaVersionHasBeenSet() const { return m_logSchemaVersionHasBeenSet; }
80 inline void SetLogSchemaVersion(int value) {
81 m_logSchemaVersionHasBeenSet = true;
82 m_logSchemaVersion = value;
83 }
86 return *this;
87 }
89 private:
90 ExperimentTemplateCloudWatchLogsLogConfiguration m_cloudWatchLogsConfiguration;
91
93
94 int m_logSchemaVersion{0};
95 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
96 bool m_s3ConfigurationHasBeenSet = false;
97 bool m_logSchemaVersionHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace FIS
102} // 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