AWS SDK for C++  1.9.158
AWS SDK for C++
DatasetDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
29 
38  {
39  public:
44 
45 
46 
47  inline const AthenaDatasetDefinition& GetAthenaDatasetDefinition() const{ return m_athenaDatasetDefinition; }
48 
49 
50  inline bool AthenaDatasetDefinitionHasBeenSet() const { return m_athenaDatasetDefinitionHasBeenSet; }
51 
52 
53  inline void SetAthenaDatasetDefinition(const AthenaDatasetDefinition& value) { m_athenaDatasetDefinitionHasBeenSet = true; m_athenaDatasetDefinition = value; }
54 
55 
56  inline void SetAthenaDatasetDefinition(AthenaDatasetDefinition&& value) { m_athenaDatasetDefinitionHasBeenSet = true; m_athenaDatasetDefinition = std::move(value); }
57 
58 
59  inline DatasetDefinition& WithAthenaDatasetDefinition(const AthenaDatasetDefinition& value) { SetAthenaDatasetDefinition(value); return *this;}
60 
61 
62  inline DatasetDefinition& WithAthenaDatasetDefinition(AthenaDatasetDefinition&& value) { SetAthenaDatasetDefinition(std::move(value)); return *this;}
63 
64 
65 
66  inline const RedshiftDatasetDefinition& GetRedshiftDatasetDefinition() const{ return m_redshiftDatasetDefinition; }
67 
68 
69  inline bool RedshiftDatasetDefinitionHasBeenSet() const { return m_redshiftDatasetDefinitionHasBeenSet; }
70 
71 
72  inline void SetRedshiftDatasetDefinition(const RedshiftDatasetDefinition& value) { m_redshiftDatasetDefinitionHasBeenSet = true; m_redshiftDatasetDefinition = value; }
73 
74 
75  inline void SetRedshiftDatasetDefinition(RedshiftDatasetDefinition&& value) { m_redshiftDatasetDefinitionHasBeenSet = true; m_redshiftDatasetDefinition = std::move(value); }
76 
77 
78  inline DatasetDefinition& WithRedshiftDatasetDefinition(const RedshiftDatasetDefinition& value) { SetRedshiftDatasetDefinition(value); return *this;}
79 
80 
81  inline DatasetDefinition& WithRedshiftDatasetDefinition(RedshiftDatasetDefinition&& value) { SetRedshiftDatasetDefinition(std::move(value)); return *this;}
82 
83 
90  inline const Aws::String& GetLocalPath() const{ return m_localPath; }
91 
98  inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
99 
106  inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
107 
114  inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
115 
122  inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
123 
130  inline DatasetDefinition& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
131 
138  inline DatasetDefinition& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
139 
146  inline DatasetDefinition& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
147 
148 
153  inline const DataDistributionType& GetDataDistributionType() const{ return m_dataDistributionType; }
154 
159  inline bool DataDistributionTypeHasBeenSet() const { return m_dataDistributionTypeHasBeenSet; }
160 
165  inline void SetDataDistributionType(const DataDistributionType& value) { m_dataDistributionTypeHasBeenSet = true; m_dataDistributionType = value; }
166 
171  inline void SetDataDistributionType(DataDistributionType&& value) { m_dataDistributionTypeHasBeenSet = true; m_dataDistributionType = std::move(value); }
172 
177  inline DatasetDefinition& WithDataDistributionType(const DataDistributionType& value) { SetDataDistributionType(value); return *this;}
178 
183  inline DatasetDefinition& WithDataDistributionType(DataDistributionType&& value) { SetDataDistributionType(std::move(value)); return *this;}
184 
185 
194  inline const InputMode& GetInputMode() const{ return m_inputMode; }
195 
204  inline bool InputModeHasBeenSet() const { return m_inputModeHasBeenSet; }
205 
214  inline void SetInputMode(const InputMode& value) { m_inputModeHasBeenSet = true; m_inputMode = value; }
215 
224  inline void SetInputMode(InputMode&& value) { m_inputModeHasBeenSet = true; m_inputMode = std::move(value); }
225 
234  inline DatasetDefinition& WithInputMode(const InputMode& value) { SetInputMode(value); return *this;}
235 
244  inline DatasetDefinition& WithInputMode(InputMode&& value) { SetInputMode(std::move(value)); return *this;}
245 
246  private:
247 
248  AthenaDatasetDefinition m_athenaDatasetDefinition;
249  bool m_athenaDatasetDefinitionHasBeenSet;
250 
251  RedshiftDatasetDefinition m_redshiftDatasetDefinition;
252  bool m_redshiftDatasetDefinitionHasBeenSet;
253 
254  Aws::String m_localPath;
255  bool m_localPathHasBeenSet;
256 
257  DataDistributionType m_dataDistributionType;
258  bool m_dataDistributionTypeHasBeenSet;
259 
260  InputMode m_inputMode;
261  bool m_inputModeHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace SageMaker
266 } // namespace Aws
Aws::SageMaker::Model::DatasetDefinition::LocalPathHasBeenSet
bool LocalPathHasBeenSet() const
Definition: DatasetDefinition.h:98
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DatasetDefinition::SetInputMode
void SetInputMode(const InputMode &value)
Definition: DatasetDefinition.h:214
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DatasetDefinition::GetRedshiftDatasetDefinition
const RedshiftDatasetDefinition & GetRedshiftDatasetDefinition() const
Definition: DatasetDefinition.h:66
Aws::SageMaker::Model::DatasetDefinition::DatasetDefinition
DatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DatasetDefinition::GetInputMode
const InputMode & GetInputMode() const
Definition: DatasetDefinition.h:194
RedshiftDatasetDefinition.h
Aws::SageMaker::Model::DatasetDefinition::SetDataDistributionType
void SetDataDistributionType(DataDistributionType &&value)
Definition: DatasetDefinition.h:171
Aws::SageMaker::Model::DatasetDefinition::WithRedshiftDatasetDefinition
DatasetDefinition & WithRedshiftDatasetDefinition(RedshiftDatasetDefinition &&value)
Definition: DatasetDefinition.h:81
Aws::SageMaker::Model::AthenaDatasetDefinition
Definition: AthenaDatasetDefinition.h:35
Aws::SageMaker::Model::DatasetDefinition::WithAthenaDatasetDefinition
DatasetDefinition & WithAthenaDatasetDefinition(AthenaDatasetDefinition &&value)
Definition: DatasetDefinition.h:62
Aws::SageMaker::Model::DatasetDefinition::GetDataDistributionType
const DataDistributionType & GetDataDistributionType() const
Definition: DatasetDefinition.h:153
AthenaDatasetDefinition.h
Aws::SageMaker::Model::DatasetDefinition::DataDistributionTypeHasBeenSet
bool DataDistributionTypeHasBeenSet() const
Definition: DatasetDefinition.h:159
Aws::SageMaker::Model::DatasetDefinition::GetAthenaDatasetDefinition
const AthenaDatasetDefinition & GetAthenaDatasetDefinition() const
Definition: DatasetDefinition.h:47
Aws::SageMaker::Model::DatasetDefinition::SetRedshiftDatasetDefinition
void SetRedshiftDatasetDefinition(const RedshiftDatasetDefinition &value)
Definition: DatasetDefinition.h:72
Aws::SageMaker::Model::DatasetDefinition::WithAthenaDatasetDefinition
DatasetDefinition & WithAthenaDatasetDefinition(const AthenaDatasetDefinition &value)
Definition: DatasetDefinition.h:59
Aws::SageMaker::Model::InputMode
InputMode
Definition: InputMode.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DatasetDefinition::SetLocalPath
void SetLocalPath(Aws::String &&value)
Definition: DatasetDefinition.h:114
InputMode.h
Aws::SageMaker::Model::DatasetDefinition::WithLocalPath
DatasetDefinition & WithLocalPath(const char *value)
Definition: DatasetDefinition.h:146
Aws::SageMaker::Model::DatasetDefinition::WithRedshiftDatasetDefinition
DatasetDefinition & WithRedshiftDatasetDefinition(const RedshiftDatasetDefinition &value)
Definition: DatasetDefinition.h:78
Aws::SageMaker::Model::DatasetDefinition::SetLocalPath
void SetLocalPath(const char *value)
Definition: DatasetDefinition.h:122
Aws::SageMaker::Model::DatasetDefinition::WithDataDistributionType
DatasetDefinition & WithDataDistributionType(const DataDistributionType &value)
Definition: DatasetDefinition.h:177
Aws::SageMaker::Model::DatasetDefinition::InputModeHasBeenSet
bool InputModeHasBeenSet() const
Definition: DatasetDefinition.h:204
Aws::SageMaker::Model::DatasetDefinition::RedshiftDatasetDefinitionHasBeenSet
bool RedshiftDatasetDefinitionHasBeenSet() const
Definition: DatasetDefinition.h:69
Aws::SageMaker::Model::DatasetDefinition::SetLocalPath
void SetLocalPath(const Aws::String &value)
Definition: DatasetDefinition.h:106
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DatasetDefinition::SetDataDistributionType
void SetDataDistributionType(const DataDistributionType &value)
Definition: DatasetDefinition.h:165
DataDistributionType.h
Aws::SageMaker::Model::DatasetDefinition::GetLocalPath
const Aws::String & GetLocalPath() const
Definition: DatasetDefinition.h:90
Aws::SageMaker::Model::DatasetDefinition::SetAthenaDatasetDefinition
void SetAthenaDatasetDefinition(AthenaDatasetDefinition &&value)
Definition: DatasetDefinition.h:56
Aws::SageMaker::Model::DatasetDefinition::operator=
DatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::RedshiftDatasetDefinition
Definition: RedshiftDatasetDefinition.h:35
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DatasetDefinition::WithInputMode
DatasetDefinition & WithInputMode(const InputMode &value)
Definition: DatasetDefinition.h:234
Aws::SageMaker::Model::DatasetDefinition::SetRedshiftDatasetDefinition
void SetRedshiftDatasetDefinition(RedshiftDatasetDefinition &&value)
Definition: DatasetDefinition.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DatasetDefinition::WithLocalPath
DatasetDefinition & WithLocalPath(const Aws::String &value)
Definition: DatasetDefinition.h:130
Aws::SageMaker::Model::DatasetDefinition
Definition: DatasetDefinition.h:38
Aws::SageMaker::Model::DatasetDefinition::WithInputMode
DatasetDefinition & WithInputMode(InputMode &&value)
Definition: DatasetDefinition.h:244
Aws::SageMaker::Model::DatasetDefinition::WithLocalPath
DatasetDefinition & WithLocalPath(Aws::String &&value)
Definition: DatasetDefinition.h:138
Aws::SageMaker::Model::DatasetDefinition::DatasetDefinition
DatasetDefinition()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DataDistributionType
DataDistributionType
Definition: DataDistributionType.h:17
Aws::SageMaker::Model::DatasetDefinition::SetAthenaDatasetDefinition
void SetAthenaDatasetDefinition(const AthenaDatasetDefinition &value)
Definition: DatasetDefinition.h:53
Aws::SageMaker::Model::DatasetDefinition::SetInputMode
void SetInputMode(InputMode &&value)
Definition: DatasetDefinition.h:224
Aws::SageMaker::Model::DatasetDefinition::AthenaDatasetDefinitionHasBeenSet
bool AthenaDatasetDefinitionHasBeenSet() const
Definition: DatasetDefinition.h:50
Aws::SageMaker::Model::DatasetDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DatasetDefinition::WithDataDistributionType
DatasetDefinition & WithDataDistributionType(DataDistributionType &&value)
Definition: DatasetDefinition.h:183