AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateDataSourceResult.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 {
35  {
36  public:
40 
41 
47  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
48 
54  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
55 
61  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
62 
68  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
69 
75  inline UpdateDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
76 
82  inline UpdateDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
83 
89  inline UpdateDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
90 
91  private:
92 
93  Aws::String m_dataSourceId;
94  };
95 
96 } // namespace Model
97 } // namespace MachineLearning
98 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::UpdateDataSourceResult::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: UpdateDataSourceResult.h:61
Aws::MachineLearning::Model::UpdateDataSourceResult::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: UpdateDataSourceResult.h:47
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::UpdateDataSourceResult::WithDataSourceId
UpdateDataSourceResult & WithDataSourceId(const Aws::String &value)
Definition: UpdateDataSourceResult.h:75
Aws::MachineLearning::Model::UpdateDataSourceResult::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: UpdateDataSourceResult.h:54
Aws::MachineLearning::Model::UpdateDataSourceResult::UpdateDataSourceResult
UpdateDataSourceResult()
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::UpdateDataSourceResult::operator=
UpdateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::MachineLearning::Model::UpdateDataSourceResult::WithDataSourceId
UpdateDataSourceResult & WithDataSourceId(const char *value)
Definition: UpdateDataSourceResult.h:89
Aws::MachineLearning::Model::UpdateDataSourceResult::WithDataSourceId
UpdateDataSourceResult & WithDataSourceId(Aws::String &&value)
Definition: UpdateDataSourceResult.h:82
Aws::MachineLearning::Model::UpdateDataSourceResult::UpdateDataSourceResult
UpdateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::UpdateDataSourceResult
Definition: UpdateDataSourceResult.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::UpdateDataSourceResult::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: UpdateDataSourceResult.h:68