AWS SDK for C++  1.9.109
AWS SDK for C++
GetDataSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MachineLearning
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetDataSource"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
41 
45  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
46 
50  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
51 
55  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
56 
60  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
61 
65  inline GetDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
66 
70  inline GetDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
71 
75  inline GetDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
76 
77 
83  inline bool GetVerbose() const{ return m_verbose; }
84 
90  inline bool VerboseHasBeenSet() const { return m_verboseHasBeenSet; }
91 
97  inline void SetVerbose(bool value) { m_verboseHasBeenSet = true; m_verbose = value; }
98 
104  inline GetDataSourceRequest& WithVerbose(bool value) { SetVerbose(value); return *this;}
105 
106  private:
107 
108  Aws::String m_dataSourceId;
109  bool m_dataSourceIdHasBeenSet;
110 
111  bool m_verbose;
112  bool m_verboseHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace MachineLearning
117 } // namespace Aws
Aws::MachineLearning::Model::GetDataSourceRequest::VerboseHasBeenSet
bool VerboseHasBeenSet() const
Definition: GetDataSourceRequest.h:90
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::GetDataSourceRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: GetDataSourceRequest.h:60
Aws::MachineLearning::Model::GetDataSourceRequest
Definition: GetDataSourceRequest.h:22
Aws::MachineLearning::Model::GetDataSourceRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: GetDataSourceRequest.h:50
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::GetDataSourceRequest::SetVerbose
void SetVerbose(bool value)
Definition: GetDataSourceRequest.h:97
Aws::MachineLearning::Model::GetDataSourceRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: GetDataSourceRequest.h:55
Aws::MachineLearning::Model::GetDataSourceRequest::WithDataSourceId
GetDataSourceRequest & WithDataSourceId(const char *value)
Definition: GetDataSourceRequest.h:75
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
AWSString.h
Aws::MachineLearning::Model::GetDataSourceRequest::WithDataSourceId
GetDataSourceRequest & WithDataSourceId(Aws::String &&value)
Definition: GetDataSourceRequest.h:70
Aws::MachineLearning::Model::GetDataSourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
MachineLearningRequest.h
Aws::MachineLearning::Model::GetDataSourceRequest::GetDataSourceRequest
GetDataSourceRequest()
Aws::MachineLearning::Model::GetDataSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDataSourceRequest.h:30
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws::MachineLearning::Model::GetDataSourceRequest::WithDataSourceId
GetDataSourceRequest & WithDataSourceId(const Aws::String &value)
Definition: GetDataSourceRequest.h:65
Aws::MachineLearning::Model::GetDataSourceRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: GetDataSourceRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::GetDataSourceRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: GetDataSourceRequest.h:40
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::GetDataSourceRequest::GetVerbose
bool GetVerbose() const
Definition: GetDataSourceRequest.h:83
Aws::MachineLearning::Model::GetDataSourceRequest::WithVerbose
GetDataSourceRequest & WithVerbose(bool value)
Definition: GetDataSourceRequest.h:104
Aws::MachineLearning::Model::GetDataSourceRequest::SerializePayload
Aws::String SerializePayload() const override