AWS SDK for C++  1.9.109
AWS SDK for C++
GetMLModelRequest.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 "GetMLModel"; }
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 GetMLModelRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
66 
70  inline GetMLModelRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
71 
75  inline GetMLModelRequest& WithMLModelId(const char* value) { SetMLModelId(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 GetMLModelRequest& WithVerbose(bool value) { SetVerbose(value); return *this;}
105 
106  private:
107 
108  Aws::String m_mLModelId;
109  bool m_mLModelIdHasBeenSet;
110 
111  bool m_verbose;
112  bool m_verboseHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace MachineLearning
117 } // namespace Aws
Aws::MachineLearning::Model::GetMLModelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::GetMLModelRequest::SetVerbose
void SetVerbose(bool value)
Definition: GetMLModelRequest.h:97
Aws::MachineLearning::Model::GetMLModelRequest::GetMLModelRequest
GetMLModelRequest()
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::GetMLModelRequest::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: GetMLModelRequest.h:50
Aws::MachineLearning::Model::GetMLModelRequest::GetVerbose
bool GetVerbose() const
Definition: GetMLModelRequest.h:83
Aws::MachineLearning::Model::GetMLModelRequest::VerboseHasBeenSet
bool VerboseHasBeenSet() const
Definition: GetMLModelRequest.h:90
Aws::MachineLearning::Model::GetMLModelRequest::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: GetMLModelRequest.h:55
Aws::MachineLearning::Model::GetMLModelRequest::WithMLModelId
GetMLModelRequest & WithMLModelId(const char *value)
Definition: GetMLModelRequest.h:75
Aws::MachineLearning::Model::GetMLModelRequest
Definition: GetMLModelRequest.h:22
Aws::MachineLearning::Model::GetMLModelRequest::WithVerbose
GetMLModelRequest & WithVerbose(bool value)
Definition: GetMLModelRequest.h:104
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::GetMLModelRequest::WithMLModelId
GetMLModelRequest & WithMLModelId(const Aws::String &value)
Definition: GetMLModelRequest.h:65
Aws::MachineLearning::Model::GetMLModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetMLModelRequest.h:30
AWSString.h
Aws::MachineLearning::Model::GetMLModelRequest::SetMLModelId
void SetMLModelId(const char *value)
Definition: GetMLModelRequest.h:60
Aws::MachineLearning::Model::GetMLModelRequest::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: GetMLModelRequest.h:40
MachineLearningRequest.h
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::GetMLModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MachineLearning::Model::GetMLModelRequest::WithMLModelId
GetMLModelRequest & WithMLModelId(Aws::String &&value)
Definition: GetMLModelRequest.h:70
Aws::MachineLearning::Model::GetMLModelRequest::MLModelIdHasBeenSet
bool MLModelIdHasBeenSet() const
Definition: GetMLModelRequest.h:45