AWS SDK for C++  1.9.109
AWS SDK for C++
CreateDataSourceFromRDSRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MachineLearning
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "CreateDataSourceFromRDS"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
44 
50  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
51 
57  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
58 
64  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
65 
71  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
72 
78  inline CreateDataSourceFromRDSRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
79 
85  inline CreateDataSourceFromRDSRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
86 
92  inline CreateDataSourceFromRDSRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
93 
94 
98  inline const Aws::String& GetDataSourceName() const{ return m_dataSourceName; }
99 
103  inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; }
104 
108  inline void SetDataSourceName(const Aws::String& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = value; }
109 
113  inline void SetDataSourceName(Aws::String&& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = std::move(value); }
114 
118  inline void SetDataSourceName(const char* value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName.assign(value); }
119 
123  inline CreateDataSourceFromRDSRequest& WithDataSourceName(const Aws::String& value) { SetDataSourceName(value); return *this;}
124 
128  inline CreateDataSourceFromRDSRequest& WithDataSourceName(Aws::String&& value) { SetDataSourceName(std::move(value)); return *this;}
129 
133  inline CreateDataSourceFromRDSRequest& WithDataSourceName(const char* value) { SetDataSourceName(value); return *this;}
134 
135 
169  inline const RDSDataSpec& GetRDSData() const{ return m_rDSData; }
170 
204  inline bool RDSDataHasBeenSet() const { return m_rDSDataHasBeenSet; }
205 
239  inline void SetRDSData(const RDSDataSpec& value) { m_rDSDataHasBeenSet = true; m_rDSData = value; }
240 
274  inline void SetRDSData(RDSDataSpec&& value) { m_rDSDataHasBeenSet = true; m_rDSData = std::move(value); }
275 
309  inline CreateDataSourceFromRDSRequest& WithRDSData(const RDSDataSpec& value) { SetRDSData(value); return *this;}
310 
344  inline CreateDataSourceFromRDSRequest& WithRDSData(RDSDataSpec&& value) { SetRDSData(std::move(value)); return *this;}
345 
346 
352  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
353 
359  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
360 
366  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
367 
373  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
374 
380  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
381 
387  inline CreateDataSourceFromRDSRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
388 
394  inline CreateDataSourceFromRDSRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
395 
401  inline CreateDataSourceFromRDSRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
402 
403 
411  inline bool GetComputeStatistics() const{ return m_computeStatistics; }
412 
420  inline bool ComputeStatisticsHasBeenSet() const { return m_computeStatisticsHasBeenSet; }
421 
429  inline void SetComputeStatistics(bool value) { m_computeStatisticsHasBeenSet = true; m_computeStatistics = value; }
430 
438  inline CreateDataSourceFromRDSRequest& WithComputeStatistics(bool value) { SetComputeStatistics(value); return *this;}
439 
440  private:
441 
442  Aws::String m_dataSourceId;
443  bool m_dataSourceIdHasBeenSet;
444 
445  Aws::String m_dataSourceName;
446  bool m_dataSourceNameHasBeenSet;
447 
448  RDSDataSpec m_rDSData;
449  bool m_rDSDataHasBeenSet;
450 
451  Aws::String m_roleARN;
452  bool m_roleARNHasBeenSet;
453 
454  bool m_computeStatistics;
455  bool m_computeStatisticsHasBeenSet;
456  };
457 
458 } // namespace Model
459 } // namespace MachineLearning
460 } // namespace Aws
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetComputeStatistics
void SetComputeStatistics(bool value)
Definition: CreateDataSourceFromRDSRequest.h:429
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::RDSDataHasBeenSet
bool RDSDataHasBeenSet() const
Definition: CreateDataSourceFromRDSRequest.h:204
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithDataSourceName
CreateDataSourceFromRDSRequest & WithDataSourceName(const Aws::String &value)
Definition: CreateDataSourceFromRDSRequest.h:123
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDataSourceFromRDSRequest.h:31
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest
Definition: CreateDataSourceFromRDSRequest.h:23
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithDataSourceId
CreateDataSourceFromRDSRequest & WithDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromRDSRequest.h:78
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromRDSRequest.h:64
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: CreateDataSourceFromRDSRequest.h:373
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::ComputeStatisticsHasBeenSet
bool ComputeStatisticsHasBeenSet() const
Definition: CreateDataSourceFromRDSRequest.h:420
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithRoleARN
CreateDataSourceFromRDSRequest & WithRoleARN(Aws::String &&value)
Definition: CreateDataSourceFromRDSRequest.h:394
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithRoleARN
CreateDataSourceFromRDSRequest & WithRoleARN(const char *value)
Definition: CreateDataSourceFromRDSRequest.h:401
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithComputeStatistics
CreateDataSourceFromRDSRequest & WithComputeStatistics(bool value)
Definition: CreateDataSourceFromRDSRequest.h:438
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::DataSourceNameHasBeenSet
bool DataSourceNameHasBeenSet() const
Definition: CreateDataSourceFromRDSRequest.h:103
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: CreateDataSourceFromRDSRequest.h:43
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: CreateDataSourceFromRDSRequest.h:366
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetDataSourceName
void SetDataSourceName(const Aws::String &value)
Definition: CreateDataSourceFromRDSRequest.h:108
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithDataSourceName
CreateDataSourceFromRDSRequest & WithDataSourceName(Aws::String &&value)
Definition: CreateDataSourceFromRDSRequest.h:128
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithDataSourceId
CreateDataSourceFromRDSRequest & WithDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromRDSRequest.h:85
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: CreateDataSourceFromRDSRequest.h:71
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::CreateDataSourceFromRDSRequest
CreateDataSourceFromRDSRequest()
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetRDSData
const RDSDataSpec & GetRDSData() const
Definition: CreateDataSourceFromRDSRequest.h:169
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: CreateDataSourceFromRDSRequest.h:352
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithRDSData
CreateDataSourceFromRDSRequest & WithRDSData(RDSDataSpec &&value)
Definition: CreateDataSourceFromRDSRequest.h:344
AWSString.h
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetComputeStatistics
bool GetComputeStatistics() const
Definition: CreateDataSourceFromRDSRequest.h:411
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetDataSourceName
const Aws::String & GetDataSourceName() const
Definition: CreateDataSourceFromRDSRequest.h:98
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RDSDataSpec.h
MachineLearningRequest.h
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithDataSourceId
CreateDataSourceFromRDSRequest & WithDataSourceId(const char *value)
Definition: CreateDataSourceFromRDSRequest.h:92
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetDataSourceName
void SetDataSourceName(Aws::String &&value)
Definition: CreateDataSourceFromRDSRequest.h:113
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws::MachineLearning::Model::RDSDataSpec
Definition: RDSDataSpec.h:36
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromRDSRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithRoleARN
CreateDataSourceFromRDSRequest & WithRoleARN(const Aws::String &value)
Definition: CreateDataSourceFromRDSRequest.h:387
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: CreateDataSourceFromRDSRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithRDSData
CreateDataSourceFromRDSRequest & WithRDSData(const RDSDataSpec &value)
Definition: CreateDataSourceFromRDSRequest.h:309
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetDataSourceName
void SetDataSourceName(const char *value)
Definition: CreateDataSourceFromRDSRequest.h:118
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: CreateDataSourceFromRDSRequest.h:359
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetRDSData
void SetRDSData(RDSDataSpec &&value)
Definition: CreateDataSourceFromRDSRequest.h:274
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetRDSData
void SetRDSData(const RDSDataSpec &value)
Definition: CreateDataSourceFromRDSRequest.h:239
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::SetRoleARN
void SetRoleARN(const char *value)
Definition: CreateDataSourceFromRDSRequest.h:380
Aws::MachineLearning::Model::CreateDataSourceFromRDSRequest::WithDataSourceName
CreateDataSourceFromRDSRequest & WithDataSourceName(const char *value)
Definition: CreateDataSourceFromRDSRequest.h:133