AWS SDK for C++  1.9.109
AWS SDK for C++
DeleteDataSourceResult.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 {
34  {
35  public:
39 
40 
46  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
47 
53  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
54 
60  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
61 
67  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
68 
74  inline DeleteDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
75 
81  inline DeleteDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
82 
88  inline DeleteDataSourceResult& 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::DeleteDataSourceResult::DeleteDataSourceResult
DeleteDataSourceResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::DeleteDataSourceResult::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: DeleteDataSourceResult.h:67
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::DeleteDataSourceResult::operator=
DeleteDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::DeleteDataSourceResult::WithDataSourceId
DeleteDataSourceResult & WithDataSourceId(const char *value)
Definition: DeleteDataSourceResult.h:88
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::DeleteDataSourceResult::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: DeleteDataSourceResult.h:53
Aws::MachineLearning::Model::DeleteDataSourceResult::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: DeleteDataSourceResult.h:46
AWSString.h
Aws::MachineLearning::Model::DeleteDataSourceResult::WithDataSourceId
DeleteDataSourceResult & WithDataSourceId(const Aws::String &value)
Definition: DeleteDataSourceResult.h:74
Aws::MachineLearning::Model::DeleteDataSourceResult
Definition: DeleteDataSourceResult.h:34
Aws::MachineLearning::Model::DeleteDataSourceResult::DeleteDataSourceResult
DeleteDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::DeleteDataSourceResult::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: DeleteDataSourceResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::DeleteDataSourceResult::WithDataSourceId
DeleteDataSourceResult & WithDataSourceId(Aws::String &&value)
Definition: DeleteDataSourceResult.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97