AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteMLModelRequest.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 "DeleteMLModel"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
41 
45  inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
46 
50  inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
51 
55  inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
56 
60  inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
61 
65  inline DeleteMLModelRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
66 
70  inline DeleteMLModelRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
71 
75  inline DeleteMLModelRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_mLModelId;
80  bool m_mLModelIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace MachineLearning
85 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::DeleteMLModelRequest::SetMLModelId
void SetMLModelId(const char *value)
Definition: DeleteMLModelRequest.h:60
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::DeleteMLModelRequest::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: DeleteMLModelRequest.h:55
Aws::MachineLearning::Model::DeleteMLModelRequest::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: DeleteMLModelRequest.h:50
Aws::MachineLearning::Model::DeleteMLModelRequest::WithMLModelId
DeleteMLModelRequest & WithMLModelId(const char *value)
Definition: DeleteMLModelRequest.h:75
Aws::MachineLearning::Model::DeleteMLModelRequest::DeleteMLModelRequest
DeleteMLModelRequest()
Aws::MachineLearning::Model::DeleteMLModelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MachineLearning::Model::DeleteMLModelRequest::WithMLModelId
DeleteMLModelRequest & WithMLModelId(Aws::String &&value)
Definition: DeleteMLModelRequest.h:70
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
AWSString.h
Aws::MachineLearning::Model::DeleteMLModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteMLModelRequest.h:30
Aws::MachineLearning::Model::DeleteMLModelRequest::SerializePayload
Aws::String SerializePayload() const override
MachineLearningRequest.h
Aws::MachineLearning::Model::DeleteMLModelRequest::MLModelIdHasBeenSet
bool MLModelIdHasBeenSet() const
Definition: DeleteMLModelRequest.h:45
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::DeleteMLModelRequest::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: DeleteMLModelRequest.h:40
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::DeleteMLModelRequest::WithMLModelId
DeleteMLModelRequest & WithMLModelId(const Aws::String &value)
Definition: DeleteMLModelRequest.h:65
Aws::MachineLearning::Model::DeleteMLModelRequest
Definition: DeleteMLModelRequest.h:22