AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AthenaDatasetDefinition.h>
9#include <aws/sagemaker/model/RedshiftDatasetDefinition.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/DataDistributionType.h>
12#include <aws/sagemaker/model/InputMode.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_SAGEMAKER_API DatasetDefinition();
41 AWS_SAGEMAKER_API DatasetDefinition(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
48 inline const AthenaDatasetDefinition& GetAthenaDatasetDefinition() const{ return m_athenaDatasetDefinition; }
49 inline bool AthenaDatasetDefinitionHasBeenSet() const { return m_athenaDatasetDefinitionHasBeenSet; }
50 inline void SetAthenaDatasetDefinition(const AthenaDatasetDefinition& value) { m_athenaDatasetDefinitionHasBeenSet = true; m_athenaDatasetDefinition = value; }
51 inline void SetAthenaDatasetDefinition(AthenaDatasetDefinition&& value) { m_athenaDatasetDefinitionHasBeenSet = true; m_athenaDatasetDefinition = std::move(value); }
55
57
58 inline const RedshiftDatasetDefinition& GetRedshiftDatasetDefinition() const{ return m_redshiftDatasetDefinition; }
59 inline bool RedshiftDatasetDefinitionHasBeenSet() const { return m_redshiftDatasetDefinitionHasBeenSet; }
60 inline void SetRedshiftDatasetDefinition(const RedshiftDatasetDefinition& value) { m_redshiftDatasetDefinitionHasBeenSet = true; m_redshiftDatasetDefinition = value; }
61 inline void SetRedshiftDatasetDefinition(RedshiftDatasetDefinition&& value) { m_redshiftDatasetDefinitionHasBeenSet = true; m_redshiftDatasetDefinition = std::move(value); }
65
67
73 inline const Aws::String& GetLocalPath() const{ return m_localPath; }
74 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
75 inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
76 inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
77 inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
78 inline DatasetDefinition& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
79 inline DatasetDefinition& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
80 inline DatasetDefinition& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
82
84
88 inline const DataDistributionType& GetDataDistributionType() const{ return m_dataDistributionType; }
89 inline bool DataDistributionTypeHasBeenSet() const { return m_dataDistributionTypeHasBeenSet; }
90 inline void SetDataDistributionType(const DataDistributionType& value) { m_dataDistributionTypeHasBeenSet = true; m_dataDistributionType = value; }
91 inline void SetDataDistributionType(DataDistributionType&& value) { m_dataDistributionTypeHasBeenSet = true; m_dataDistributionType = std::move(value); }
95
97
105 inline const InputMode& GetInputMode() const{ return m_inputMode; }
106 inline bool InputModeHasBeenSet() const { return m_inputModeHasBeenSet; }
107 inline void SetInputMode(const InputMode& value) { m_inputModeHasBeenSet = true; m_inputMode = value; }
108 inline void SetInputMode(InputMode&& value) { m_inputModeHasBeenSet = true; m_inputMode = std::move(value); }
109 inline DatasetDefinition& WithInputMode(const InputMode& value) { SetInputMode(value); return *this;}
110 inline DatasetDefinition& WithInputMode(InputMode&& value) { SetInputMode(std::move(value)); return *this;}
112 private:
113
114 AthenaDatasetDefinition m_athenaDatasetDefinition;
115 bool m_athenaDatasetDefinitionHasBeenSet = false;
116
117 RedshiftDatasetDefinition m_redshiftDatasetDefinition;
118 bool m_redshiftDatasetDefinitionHasBeenSet = false;
119
120 Aws::String m_localPath;
121 bool m_localPathHasBeenSet = false;
122
123 DataDistributionType m_dataDistributionType;
124 bool m_dataDistributionTypeHasBeenSet = false;
125
126 InputMode m_inputMode;
127 bool m_inputModeHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SageMaker
132} // namespace Aws
DatasetDefinition & WithLocalPath(Aws::String &&value)
void SetDataDistributionType(DataDistributionType &&value)
const DataDistributionType & GetDataDistributionType() const
DatasetDefinition & WithRedshiftDatasetDefinition(const RedshiftDatasetDefinition &value)
const AthenaDatasetDefinition & GetAthenaDatasetDefinition() const
DatasetDefinition & WithLocalPath(const Aws::String &value)
AWS_SAGEMAKER_API DatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const RedshiftDatasetDefinition & GetRedshiftDatasetDefinition() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetDefinition & WithInputMode(InputMode &&value)
void SetAthenaDatasetDefinition(AthenaDatasetDefinition &&value)
AWS_SAGEMAKER_API DatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetRedshiftDatasetDefinition(const RedshiftDatasetDefinition &value)
void SetLocalPath(const Aws::String &value)
void SetRedshiftDatasetDefinition(RedshiftDatasetDefinition &&value)
const Aws::String & GetLocalPath() const
void SetAthenaDatasetDefinition(const AthenaDatasetDefinition &value)
DatasetDefinition & WithAthenaDatasetDefinition(AthenaDatasetDefinition &&value)
void SetDataDistributionType(const DataDistributionType &value)
DatasetDefinition & WithAthenaDatasetDefinition(const AthenaDatasetDefinition &value)
DatasetDefinition & WithLocalPath(const char *value)
DatasetDefinition & WithRedshiftDatasetDefinition(RedshiftDatasetDefinition &&value)
DatasetDefinition & WithDataDistributionType(DataDistributionType &&value)
DatasetDefinition & WithInputMode(const InputMode &value)
DatasetDefinition & WithDataDistributionType(const DataDistributionType &value)
void SetInputMode(const InputMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue