AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateExperimentTemplateLogConfigurationInput.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/ExperimentTemplateCloudWatchLogsLogConfigurationInput.h>
9#include <aws/fis/model/ExperimentTemplateS3LogConfigurationInput.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 ExperimentTemplateCloudWatchLogsLogConfigurationInput& GetCloudWatchLogsConfiguration() const { return m_cloudWatchLogsConfiguration; }
47 inline bool CloudWatchLogsConfigurationHasBeenSet() const { return m_cloudWatchLogsConfigurationHasBeenSet; }
48 template<typename CloudWatchLogsConfigurationT = ExperimentTemplateCloudWatchLogsLogConfigurationInput>
49 void SetCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { m_cloudWatchLogsConfigurationHasBeenSet = true; m_cloudWatchLogsConfiguration = std::forward<CloudWatchLogsConfigurationT>(value); }
50 template<typename CloudWatchLogsConfigurationT = ExperimentTemplateCloudWatchLogsLogConfigurationInput>
51 UpdateExperimentTemplateLogConfigurationInput& WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT&& value) { SetCloudWatchLogsConfiguration(std::forward<CloudWatchLogsConfigurationT>(value)); return *this;}
53
55
58 inline const ExperimentTemplateS3LogConfigurationInput& GetS3Configuration() const { return m_s3Configuration; }
59 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
60 template<typename S3ConfigurationT = ExperimentTemplateS3LogConfigurationInput>
61 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
62 template<typename S3ConfigurationT = ExperimentTemplateS3LogConfigurationInput>
63 UpdateExperimentTemplateLogConfigurationInput& 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
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
UpdateExperimentTemplateLogConfigurationInput & WithS3Configuration(S3ConfigurationT &&value)
const ExperimentTemplateCloudWatchLogsLogConfigurationInput & GetCloudWatchLogsConfiguration() const
AWS_FIS_API UpdateExperimentTemplateLogConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API UpdateExperimentTemplateLogConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateExperimentTemplateLogConfigurationInput & WithLogSchemaVersion(int value)
UpdateExperimentTemplateLogConfigurationInput & WithCloudWatchLogsConfiguration(CloudWatchLogsConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue