AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExperimentReportConfiguration.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/ExperimentReportConfigurationOutputs.h>
9#include <aws/fis/model/ExperimentReportConfigurationDataSources.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FIS
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_FIS_API ExperimentReportConfiguration() = default;
43
44
46
49 inline const ExperimentReportConfigurationOutputs& GetOutputs() const { return m_outputs; }
50 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
51 template<typename OutputsT = ExperimentReportConfigurationOutputs>
52 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
53 template<typename OutputsT = ExperimentReportConfigurationOutputs>
54 ExperimentReportConfiguration& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
56
58
61 inline const ExperimentReportConfigurationDataSources& GetDataSources() const { return m_dataSources; }
62 inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
63 template<typename DataSourcesT = ExperimentReportConfigurationDataSources>
64 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::forward<DataSourcesT>(value); }
65 template<typename DataSourcesT = ExperimentReportConfigurationDataSources>
66 ExperimentReportConfiguration& WithDataSources(DataSourcesT&& value) { SetDataSources(std::forward<DataSourcesT>(value)); return *this;}
68
70
74 inline const Aws::String& GetPreExperimentDuration() const { return m_preExperimentDuration; }
75 inline bool PreExperimentDurationHasBeenSet() const { return m_preExperimentDurationHasBeenSet; }
76 template<typename PreExperimentDurationT = Aws::String>
77 void SetPreExperimentDuration(PreExperimentDurationT&& value) { m_preExperimentDurationHasBeenSet = true; m_preExperimentDuration = std::forward<PreExperimentDurationT>(value); }
78 template<typename PreExperimentDurationT = Aws::String>
79 ExperimentReportConfiguration& WithPreExperimentDuration(PreExperimentDurationT&& value) { SetPreExperimentDuration(std::forward<PreExperimentDurationT>(value)); return *this;}
81
83
87 inline const Aws::String& GetPostExperimentDuration() const { return m_postExperimentDuration; }
88 inline bool PostExperimentDurationHasBeenSet() const { return m_postExperimentDurationHasBeenSet; }
89 template<typename PostExperimentDurationT = Aws::String>
90 void SetPostExperimentDuration(PostExperimentDurationT&& value) { m_postExperimentDurationHasBeenSet = true; m_postExperimentDuration = std::forward<PostExperimentDurationT>(value); }
91 template<typename PostExperimentDurationT = Aws::String>
92 ExperimentReportConfiguration& WithPostExperimentDuration(PostExperimentDurationT&& value) { SetPostExperimentDuration(std::forward<PostExperimentDurationT>(value)); return *this;}
94 private:
95
97 bool m_outputsHasBeenSet = false;
98
100 bool m_dataSourcesHasBeenSet = false;
101
102 Aws::String m_preExperimentDuration;
103 bool m_preExperimentDurationHasBeenSet = false;
104
105 Aws::String m_postExperimentDuration;
106 bool m_postExperimentDurationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace FIS
111} // namespace Aws
ExperimentReportConfiguration & WithPreExperimentDuration(PreExperimentDurationT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
const ExperimentReportConfigurationDataSources & GetDataSources() const
ExperimentReportConfiguration & WithOutputs(OutputsT &&value)
void SetPostExperimentDuration(PostExperimentDurationT &&value)
ExperimentReportConfiguration & WithDataSources(DataSourcesT &&value)
AWS_FIS_API ExperimentReportConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API ExperimentReportConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPreExperimentDuration(PreExperimentDurationT &&value)
const ExperimentReportConfigurationOutputs & GetOutputs() const
ExperimentReportConfiguration & WithPostExperimentDuration(PostExperimentDurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue