AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExperimentReportConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fis/FIS_EXPORTS.h>
9#include <aws/fis/model/ExperimentReportConfigurationDataSources.h>
10#include <aws/fis/model/ExperimentReportConfigurationOutputs.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FIS {
22namespace Model {
23
33 public:
34 AWS_FIS_API ExperimentReportConfiguration() = default;
38
40
43 inline const ExperimentReportConfigurationOutputs& GetOutputs() const { return m_outputs; }
44 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
45 template <typename OutputsT = ExperimentReportConfigurationOutputs>
46 void SetOutputs(OutputsT&& value) {
47 m_outputsHasBeenSet = true;
48 m_outputs = std::forward<OutputsT>(value);
49 }
50 template <typename OutputsT = ExperimentReportConfigurationOutputs>
52 SetOutputs(std::forward<OutputsT>(value));
53 return *this;
54 }
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) {
65 m_dataSourcesHasBeenSet = true;
66 m_dataSources = std::forward<DataSourcesT>(value);
67 }
68 template <typename DataSourcesT = ExperimentReportConfigurationDataSources>
70 SetDataSources(std::forward<DataSourcesT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetPreExperimentDuration() const { return m_preExperimentDuration; }
81 inline bool PreExperimentDurationHasBeenSet() const { return m_preExperimentDurationHasBeenSet; }
82 template <typename PreExperimentDurationT = Aws::String>
83 void SetPreExperimentDuration(PreExperimentDurationT&& value) {
84 m_preExperimentDurationHasBeenSet = true;
85 m_preExperimentDuration = std::forward<PreExperimentDurationT>(value);
86 }
87 template <typename PreExperimentDurationT = Aws::String>
89 SetPreExperimentDuration(std::forward<PreExperimentDurationT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetPostExperimentDuration() const { return m_postExperimentDuration; }
100 inline bool PostExperimentDurationHasBeenSet() const { return m_postExperimentDurationHasBeenSet; }
101 template <typename PostExperimentDurationT = Aws::String>
102 void SetPostExperimentDuration(PostExperimentDurationT&& value) {
103 m_postExperimentDurationHasBeenSet = true;
104 m_postExperimentDuration = std::forward<PostExperimentDurationT>(value);
105 }
106 template <typename PostExperimentDurationT = Aws::String>
108 SetPostExperimentDuration(std::forward<PostExperimentDurationT>(value));
109 return *this;
110 }
112 private:
114
116
117 Aws::String m_preExperimentDuration;
118
119 Aws::String m_postExperimentDuration;
120 bool m_outputsHasBeenSet = false;
121 bool m_dataSourcesHasBeenSet = false;
122 bool m_preExperimentDurationHasBeenSet = false;
123 bool m_postExperimentDurationHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace FIS
128} // 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