AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExplainabilityRequest.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/ForecastServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/forecast/model/ExplainabilityConfig.h>
11#include <aws/forecast/model/DataSource.h>
12#include <aws/forecast/model/Schema.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/forecast/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace ForecastService
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_FORECASTSERVICE_API CreateExplainabilityRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateExplainability"; }
36
37 AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetExplainabilityName() const{ return m_explainabilityName; }
47 inline bool ExplainabilityNameHasBeenSet() const { return m_explainabilityNameHasBeenSet; }
48 inline void SetExplainabilityName(const Aws::String& value) { m_explainabilityNameHasBeenSet = true; m_explainabilityName = value; }
49 inline void SetExplainabilityName(Aws::String&& value) { m_explainabilityNameHasBeenSet = true; m_explainabilityName = std::move(value); }
50 inline void SetExplainabilityName(const char* value) { m_explainabilityNameHasBeenSet = true; m_explainabilityName.assign(value); }
52 inline CreateExplainabilityRequest& WithExplainabilityName(Aws::String&& value) { SetExplainabilityName(std::move(value)); return *this;}
53 inline CreateExplainabilityRequest& WithExplainabilityName(const char* value) { SetExplainabilityName(value); return *this;}
55
57
61 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
62 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
63 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
64 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
65 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
66 inline CreateExplainabilityRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
67 inline CreateExplainabilityRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
68 inline CreateExplainabilityRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
70
72
76 inline const ExplainabilityConfig& GetExplainabilityConfig() const{ return m_explainabilityConfig; }
77 inline bool ExplainabilityConfigHasBeenSet() const { return m_explainabilityConfigHasBeenSet; }
78 inline void SetExplainabilityConfig(const ExplainabilityConfig& value) { m_explainabilityConfigHasBeenSet = true; m_explainabilityConfig = value; }
79 inline void SetExplainabilityConfig(ExplainabilityConfig&& value) { m_explainabilityConfigHasBeenSet = true; m_explainabilityConfig = std::move(value); }
83
85
86 inline const DataSource& GetDataSource() const{ return m_dataSource; }
87 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
88 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
89 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
90 inline CreateExplainabilityRequest& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
91 inline CreateExplainabilityRequest& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
93
95
96 inline const Schema& GetSchema() const{ return m_schema; }
97 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
98 inline void SetSchema(const Schema& value) { m_schemaHasBeenSet = true; m_schema = value; }
99 inline void SetSchema(Schema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
100 inline CreateExplainabilityRequest& WithSchema(const Schema& value) { SetSchema(value); return *this;}
101 inline CreateExplainabilityRequest& WithSchema(Schema&& value) { SetSchema(std::move(value)); return *this;}
103
105
109 inline bool GetEnableVisualization() const{ return m_enableVisualization; }
110 inline bool EnableVisualizationHasBeenSet() const { return m_enableVisualizationHasBeenSet; }
111 inline void SetEnableVisualization(bool value) { m_enableVisualizationHasBeenSet = true; m_enableVisualization = value; }
114
116
121 inline const Aws::String& GetStartDateTime() const{ return m_startDateTime; }
122 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
123 inline void SetStartDateTime(const Aws::String& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
124 inline void SetStartDateTime(Aws::String&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
125 inline void SetStartDateTime(const char* value) { m_startDateTimeHasBeenSet = true; m_startDateTime.assign(value); }
126 inline CreateExplainabilityRequest& WithStartDateTime(const Aws::String& value) { SetStartDateTime(value); return *this;}
127 inline CreateExplainabilityRequest& WithStartDateTime(Aws::String&& value) { SetStartDateTime(std::move(value)); return *this;}
128 inline CreateExplainabilityRequest& WithStartDateTime(const char* value) { SetStartDateTime(value); return *this;}
130
132
137 inline const Aws::String& GetEndDateTime() const{ return m_endDateTime; }
138 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
139 inline void SetEndDateTime(const Aws::String& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
140 inline void SetEndDateTime(Aws::String&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
141 inline void SetEndDateTime(const char* value) { m_endDateTimeHasBeenSet = true; m_endDateTime.assign(value); }
142 inline CreateExplainabilityRequest& WithEndDateTime(const Aws::String& value) { SetEndDateTime(value); return *this;}
143 inline CreateExplainabilityRequest& WithEndDateTime(Aws::String&& value) { SetEndDateTime(std::move(value)); return *this;}
144 inline CreateExplainabilityRequest& WithEndDateTime(const char* value) { SetEndDateTime(value); return *this;}
146
148
167 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
168 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
169 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
170 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
171 inline CreateExplainabilityRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
172 inline CreateExplainabilityRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
173 inline CreateExplainabilityRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
174 inline CreateExplainabilityRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
176 private:
177
178 Aws::String m_explainabilityName;
179 bool m_explainabilityNameHasBeenSet = false;
180
181 Aws::String m_resourceArn;
182 bool m_resourceArnHasBeenSet = false;
183
184 ExplainabilityConfig m_explainabilityConfig;
185 bool m_explainabilityConfigHasBeenSet = false;
186
187 DataSource m_dataSource;
188 bool m_dataSourceHasBeenSet = false;
189
190 Schema m_schema;
191 bool m_schemaHasBeenSet = false;
192
193 bool m_enableVisualization;
194 bool m_enableVisualizationHasBeenSet = false;
195
196 Aws::String m_startDateTime;
197 bool m_startDateTimeHasBeenSet = false;
198
199 Aws::String m_endDateTime;
200 bool m_endDateTimeHasBeenSet = false;
201
202 Aws::Vector<Tag> m_tags;
203 bool m_tagsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace ForecastService
208} // namespace Aws
CreateExplainabilityRequest & WithExplainabilityConfig(ExplainabilityConfig &&value)
CreateExplainabilityRequest & AddTags(const Tag &value)
AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateExplainabilityRequest & WithResourceArn(const Aws::String &value)
CreateExplainabilityRequest & WithEndDateTime(const Aws::String &value)
CreateExplainabilityRequest & WithStartDateTime(Aws::String &&value)
CreateExplainabilityRequest & WithEndDateTime(const char *value)
CreateExplainabilityRequest & WithStartDateTime(const char *value)
CreateExplainabilityRequest & WithExplainabilityName(const Aws::String &value)
CreateExplainabilityRequest & WithTags(const Aws::Vector< Tag > &value)
CreateExplainabilityRequest & WithTags(Aws::Vector< Tag > &&value)
CreateExplainabilityRequest & WithDataSource(DataSource &&value)
CreateExplainabilityRequest & WithExplainabilityConfig(const ExplainabilityConfig &value)
CreateExplainabilityRequest & WithSchema(const Schema &value)
CreateExplainabilityRequest & WithStartDateTime(const Aws::String &value)
CreateExplainabilityRequest & WithEnableVisualization(bool value)
CreateExplainabilityRequest & WithResourceArn(const char *value)
CreateExplainabilityRequest & WithResourceArn(Aws::String &&value)
AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override
CreateExplainabilityRequest & WithExplainabilityName(const char *value)
CreateExplainabilityRequest & WithEndDateTime(Aws::String &&value)
CreateExplainabilityRequest & WithDataSource(const DataSource &value)
CreateExplainabilityRequest & WithExplainabilityName(Aws::String &&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