AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataSourceFromS3Request.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/MachineLearningRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/model/S3DataSpec.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MachineLearning
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MACHINELEARNING_API CreateDataSourceFromS3Request();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateDataSourceFromS3"; }
32
33 AWS_MACHINELEARNING_API Aws::String SerializePayload() const override;
34
35 AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
44 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
45 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
46 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
47 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
48 inline CreateDataSourceFromS3Request& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
49 inline CreateDataSourceFromS3Request& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
50 inline CreateDataSourceFromS3Request& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
52
54
57 inline const Aws::String& GetDataSourceName() const{ return m_dataSourceName; }
58 inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; }
59 inline void SetDataSourceName(const Aws::String& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = value; }
60 inline void SetDataSourceName(Aws::String&& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = std::move(value); }
61 inline void SetDataSourceName(const char* value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName.assign(value); }
63 inline CreateDataSourceFromS3Request& WithDataSourceName(Aws::String&& value) { SetDataSourceName(std::move(value)); return *this;}
64 inline CreateDataSourceFromS3Request& WithDataSourceName(const char* value) { SetDataSourceName(value); return *this;}
66
68
80 inline const S3DataSpec& GetDataSpec() const{ return m_dataSpec; }
81 inline bool DataSpecHasBeenSet() const { return m_dataSpecHasBeenSet; }
82 inline void SetDataSpec(const S3DataSpec& value) { m_dataSpecHasBeenSet = true; m_dataSpec = value; }
83 inline void SetDataSpec(S3DataSpec&& value) { m_dataSpecHasBeenSet = true; m_dataSpec = std::move(value); }
84 inline CreateDataSourceFromS3Request& WithDataSpec(const S3DataSpec& value) { SetDataSpec(value); return *this;}
85 inline CreateDataSourceFromS3Request& WithDataSpec(S3DataSpec&& value) { SetDataSpec(std::move(value)); return *this;}
87
89
96 inline bool GetComputeStatistics() const{ return m_computeStatistics; }
97 inline bool ComputeStatisticsHasBeenSet() const { return m_computeStatisticsHasBeenSet; }
98 inline void SetComputeStatistics(bool value) { m_computeStatisticsHasBeenSet = true; m_computeStatistics = value; }
101 private:
102
103 Aws::String m_dataSourceId;
104 bool m_dataSourceIdHasBeenSet = false;
105
106 Aws::String m_dataSourceName;
107 bool m_dataSourceNameHasBeenSet = false;
108
109 S3DataSpec m_dataSpec;
110 bool m_dataSpecHasBeenSet = false;
111
112 bool m_computeStatistics;
113 bool m_computeStatisticsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace MachineLearning
118} // namespace Aws
CreateDataSourceFromS3Request & WithDataSourceId(const char *value)
CreateDataSourceFromS3Request & WithDataSourceId(Aws::String &&value)
CreateDataSourceFromS3Request & WithDataSourceName(Aws::String &&value)
CreateDataSourceFromS3Request & WithDataSourceName(const char *value)
CreateDataSourceFromS3Request & WithDataSourceName(const Aws::String &value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataSourceFromS3Request & WithDataSourceId(const Aws::String &value)
CreateDataSourceFromS3Request & WithDataSpec(S3DataSpec &&value)
CreateDataSourceFromS3Request & WithDataSpec(const S3DataSpec &value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String