AWS SDK for C++  1.9.109
AWS SDK for C++
CreateDataSourceFromS3Result.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 
49  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
50 
56  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
57 
63  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
64 
70  inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
71 
77  inline CreateDataSourceFromS3Result& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
78 
84  inline CreateDataSourceFromS3Result& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
85 
91  inline CreateDataSourceFromS3Result& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
92 
93  private:
94 
95  Aws::String m_dataSourceId;
96  };
97 
98 } // namespace Model
99 } // namespace MachineLearning
100 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::CreateDataSourceFromS3Result
CreateDataSourceFromS3Result()
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromS3Result.h:56
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::WithDataSourceId
CreateDataSourceFromS3Result & WithDataSourceId(const char *value)
Definition: CreateDataSourceFromS3Result.h:91
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromS3Result.h:63
AWSString.h
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::WithDataSourceId
CreateDataSourceFromS3Result & WithDataSourceId(Aws::String &&value)
Definition: CreateDataSourceFromS3Result.h:84
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: CreateDataSourceFromS3Result.h:70
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::WithDataSourceId
CreateDataSourceFromS3Result & WithDataSourceId(const Aws::String &value)
Definition: CreateDataSourceFromS3Result.h:77
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: CreateDataSourceFromS3Result.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::operator=
CreateDataSourceFromS3Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateDataSourceFromS3Result
Definition: CreateDataSourceFromS3Result.h:37
Aws::MachineLearning::Model::CreateDataSourceFromS3Result::CreateDataSourceFromS3Result
CreateDataSourceFromS3Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)