AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateExplainabilityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/ForecastServiceRequest.h>
10#include <aws/forecast/ForecastService_EXPORTS.h>
11#include <aws/forecast/model/DataSource.h>
12#include <aws/forecast/model/ExplainabilityConfig.h>
13#include <aws/forecast/model/Schema.h>
14#include <aws/forecast/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19namespace ForecastService {
20namespace Model {
21
25 public:
26 AWS_FORECASTSERVICE_API CreateExplainabilityRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateExplainability"; }
33
34 AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetExplainabilityName() const { return m_explainabilityName; }
43 inline bool ExplainabilityNameHasBeenSet() const { return m_explainabilityNameHasBeenSet; }
44 template <typename ExplainabilityNameT = Aws::String>
45 void SetExplainabilityName(ExplainabilityNameT&& value) {
46 m_explainabilityNameHasBeenSet = true;
47 m_explainabilityName = std::forward<ExplainabilityNameT>(value);
48 }
49 template <typename ExplainabilityNameT = Aws::String>
51 SetExplainabilityName(std::forward<ExplainabilityNameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
62 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
63 template <typename ResourceArnT = Aws::String>
64 void SetResourceArn(ResourceArnT&& value) {
65 m_resourceArnHasBeenSet = true;
66 m_resourceArn = std::forward<ResourceArnT>(value);
67 }
68 template <typename ResourceArnT = Aws::String>
70 SetResourceArn(std::forward<ResourceArnT>(value));
71 return *this;
72 }
74
76
80 inline const ExplainabilityConfig& GetExplainabilityConfig() const { return m_explainabilityConfig; }
81 inline bool ExplainabilityConfigHasBeenSet() const { return m_explainabilityConfigHasBeenSet; }
82 template <typename ExplainabilityConfigT = ExplainabilityConfig>
83 void SetExplainabilityConfig(ExplainabilityConfigT&& value) {
84 m_explainabilityConfigHasBeenSet = true;
85 m_explainabilityConfig = std::forward<ExplainabilityConfigT>(value);
86 }
87 template <typename ExplainabilityConfigT = ExplainabilityConfig>
88 CreateExplainabilityRequest& WithExplainabilityConfig(ExplainabilityConfigT&& value) {
89 SetExplainabilityConfig(std::forward<ExplainabilityConfigT>(value));
90 return *this;
91 }
93
95
96 inline const DataSource& GetDataSource() const { return m_dataSource; }
97 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
98 template <typename DataSourceT = DataSource>
99 void SetDataSource(DataSourceT&& value) {
100 m_dataSourceHasBeenSet = true;
101 m_dataSource = std::forward<DataSourceT>(value);
102 }
103 template <typename DataSourceT = DataSource>
105 SetDataSource(std::forward<DataSourceT>(value));
106 return *this;
107 }
109
111
112 inline const Schema& GetSchema() const { return m_schema; }
113 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
114 template <typename SchemaT = Schema>
115 void SetSchema(SchemaT&& value) {
116 m_schemaHasBeenSet = true;
117 m_schema = std::forward<SchemaT>(value);
118 }
119 template <typename SchemaT = Schema>
121 SetSchema(std::forward<SchemaT>(value));
122 return *this;
123 }
125
127
131 inline bool GetEnableVisualization() const { return m_enableVisualization; }
132 inline bool EnableVisualizationHasBeenSet() const { return m_enableVisualizationHasBeenSet; }
133 inline void SetEnableVisualization(bool value) {
134 m_enableVisualizationHasBeenSet = true;
135 m_enableVisualization = value;
136 }
139 return *this;
140 }
142
144
149 inline const Aws::String& GetStartDateTime() const { return m_startDateTime; }
150 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
151 template <typename StartDateTimeT = Aws::String>
152 void SetStartDateTime(StartDateTimeT&& value) {
153 m_startDateTimeHasBeenSet = true;
154 m_startDateTime = std::forward<StartDateTimeT>(value);
155 }
156 template <typename StartDateTimeT = Aws::String>
158 SetStartDateTime(std::forward<StartDateTimeT>(value));
159 return *this;
160 }
162
164
169 inline const Aws::String& GetEndDateTime() const { return m_endDateTime; }
170 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
171 template <typename EndDateTimeT = Aws::String>
172 void SetEndDateTime(EndDateTimeT&& value) {
173 m_endDateTimeHasBeenSet = true;
174 m_endDateTime = std::forward<EndDateTimeT>(value);
175 }
176 template <typename EndDateTimeT = Aws::String>
178 SetEndDateTime(std::forward<EndDateTimeT>(value));
179 return *this;
180 }
182
184
203 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
204 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
205 template <typename TagsT = Aws::Vector<Tag>>
206 void SetTags(TagsT&& value) {
207 m_tagsHasBeenSet = true;
208 m_tags = std::forward<TagsT>(value);
209 }
210 template <typename TagsT = Aws::Vector<Tag>>
212 SetTags(std::forward<TagsT>(value));
213 return *this;
214 }
215 template <typename TagsT = Tag>
217 m_tagsHasBeenSet = true;
218 m_tags.emplace_back(std::forward<TagsT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_explainabilityName;
224
225 Aws::String m_resourceArn;
226
227 ExplainabilityConfig m_explainabilityConfig;
228
229 DataSource m_dataSource;
230
231 Schema m_schema;
232
233 bool m_enableVisualization{false};
234
235 Aws::String m_startDateTime;
236
237 Aws::String m_endDateTime;
238
239 Aws::Vector<Tag> m_tags;
240 bool m_explainabilityNameHasBeenSet = false;
241 bool m_resourceArnHasBeenSet = false;
242 bool m_explainabilityConfigHasBeenSet = false;
243 bool m_dataSourceHasBeenSet = false;
244 bool m_schemaHasBeenSet = false;
245 bool m_enableVisualizationHasBeenSet = false;
246 bool m_startDateTimeHasBeenSet = false;
247 bool m_endDateTimeHasBeenSet = false;
248 bool m_tagsHasBeenSet = false;
249};
250
251} // namespace Model
252} // namespace ForecastService
253} // namespace Aws
AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateExplainabilityRequest & WithExplainabilityConfig(ExplainabilityConfigT &&value)
CreateExplainabilityRequest & WithResourceArn(ResourceArnT &&value)
CreateExplainabilityRequest & WithSchema(SchemaT &&value)
CreateExplainabilityRequest & WithExplainabilityName(ExplainabilityNameT &&value)
CreateExplainabilityRequest & WithEnableVisualization(bool value)
AWS_FORECASTSERVICE_API CreateExplainabilityRequest()=default
AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override
CreateExplainabilityRequest & WithStartDateTime(StartDateTimeT &&value)
CreateExplainabilityRequest & WithEndDateTime(EndDateTimeT &&value)
CreateExplainabilityRequest & WithDataSource(DataSourceT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector