AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
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 ExperimentLogConfiguration() = default;
35
37
40 inline const ExperimentCloudWatchLogsLogConfiguration& GetCloudWatchLogsConfiguration() const { return m_cloudWatchLogsConfiguration; }
41 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
42 template <typename CloudWatchLogsConfigurationT = ExperimentCloudWatchLogsLogConfiguration>
43 void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) {
44 m_cloudWatchLogsConfigurationHasBeenSet = true;
45 m_cloudWatchLogsConfiguration = std::forward<CloudWatchLogsConfigurationT>(value);
46 }
47 template <typename CloudWatchLogsConfigurationT = ExperimentCloudWatchLogsLogConfiguration>
48 ExperimentLogConfiguration& WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) {
49 SetCloudWatchLogsConfiguration(std::forward<CloudWatchLogsConfigurationT>(value));
50 return *this;
51 }
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) {
62 m_s3ConfigurationHasBeenSet = true;
63 m_s3Configuration = std::forward<S3ConfigurationT>(value);
64 }
65 template <typename S3ConfigurationT = ExperimentS3LogConfiguration>
67 SetS3Configuration(std::forward<S3ConfigurationT>(value));
68 return *this;
69 }
71
73
76 inline int GetLogSchemaVersion() const { return m_logSchemaVersion; }
77 inline bool LogSchemaVersionHasBeenSet() const { return m_logSchemaVersionHasBeenSet; }
78 inline void SetLogSchemaVersion(int value) {
79 m_logSchemaVersionHasBeenSet = true;
80 m_logSchemaVersion = value;
81 }
84 return *this;
85 }
87 private:
88 ExperimentCloudWatchLogsLogConfiguration m_cloudWatchLogsConfiguration;
89
90 ExperimentS3LogConfiguration m_s3Configuration;
91
92 int m_logSchemaVersion{0};
93 bool m_cloudWatchLogsConfigurationHasBeenSet = false;
94 bool m_s3ConfigurationHasBeenSet = false;
95 bool m_logSchemaVersionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace FIS
100} // 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