AWS SDK for C++  1.9.108
AWS SDK for C++
CreateDataSourceFromRedshiftResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MachineLearning
24 {
25 namespace Model
26 {
37  {
38  public:
42 
43 
48  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
49 
54  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
55 
60  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
61 
66  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
67 
72  inline CreateDataSourceFromRedshiftResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
73 
78  inline CreateDataSourceFromRedshiftResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
79 
84  inline CreateDataSourceFromRedshiftResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
85 
86  private:
87 
88  Aws::String m_dataSourceId;
89  };
90 
91 } // namespace Model
92 } // namespace MachineLearning
93 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: CreateDataSourceFromRedshiftResult.h:48
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::WithDataSourceId
CreateDataSourceFromRedshiftResult & WithDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromRedshiftResult.h:72
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::operator=
CreateDataSourceFromRedshiftResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::WithDataSourceId
CreateDataSourceFromRedshiftResult & WithDataSourceId(const char *value)
Definition: CreateDataSourceFromRedshiftResult.h:84
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::CreateDataSourceFromRedshiftResult
CreateDataSourceFromRedshiftResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::WithDataSourceId
CreateDataSourceFromRedshiftResult & WithDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromRedshiftResult.h:78
AWSString.h
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromRedshiftResult.h:54
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult
Definition: CreateDataSourceFromRedshiftResult.h:37
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: CreateDataSourceFromRedshiftResult.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromRedshiftResult.h:60
Aws::MachineLearning::Model::CreateDataSourceFromRedshiftResult::CreateDataSourceFromRedshiftResult
CreateDataSourceFromRedshiftResult()