AWS SDK for C++  1.9.103
AWS SDK for C++
CreateDataSourceFromRDSResult.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 {
41  {
42  public:
46 
47 
52  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
53 
58  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
59 
64  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
65 
70  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
71 
76  inline CreateDataSourceFromRDSResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
77 
82  inline CreateDataSourceFromRDSResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
83 
88  inline CreateDataSourceFromRDSResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
89 
90  private:
91 
92  Aws::String m_dataSourceId;
93  };
94 
95 } // namespace Model
96 } // namespace MachineLearning
97 } // namespace Aws
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult
Definition: CreateDataSourceFromRDSResult.h:41
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::operator=
CreateDataSourceFromRDSResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: CreateDataSourceFromRDSResult.h:70
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::WithDataSourceId
CreateDataSourceFromRDSResult & WithDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromRDSResult.h:82
AWSString.h
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::WithDataSourceId
CreateDataSourceFromRDSResult & WithDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromRDSResult.h:76
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::WithDataSourceId
CreateDataSourceFromRDSResult & WithDataSourceId(const char *value)
Definition: CreateDataSourceFromRDSResult.h:88
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromRDSResult.h:58
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::CreateDataSourceFromRDSResult
CreateDataSourceFromRDSResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: CreateDataSourceFromRDSResult.h:52
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::CreateDataSourceFromRDSResult
CreateDataSourceFromRDSResult()
Aws::MachineLearning::Model::CreateDataSourceFromRDSResult::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromRDSResult.h:64