AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeModelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LookoutforVision
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 "DescribeModel"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetProjectName() const{ return m_projectName; }
40 
45  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
46 
51  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
52 
57  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
58 
63  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
64 
69  inline DescribeModelRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
70 
75  inline DescribeModelRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
76 
81  inline DescribeModelRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
82 
83 
87  inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
88 
92  inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
93 
97  inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
98 
102  inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
103 
107  inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
108 
112  inline DescribeModelRequest& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
113 
117  inline DescribeModelRequest& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
118 
122  inline DescribeModelRequest& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
123 
124  private:
125 
126  Aws::String m_projectName;
127  bool m_projectNameHasBeenSet;
128 
129  Aws::String m_modelVersion;
130  bool m_modelVersionHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace LookoutforVision
135 } // namespace Aws
Aws::LookoutforVision::Model::DescribeModelRequest::WithModelVersion
DescribeModelRequest & WithModelVersion(const char *value)
Definition: DescribeModelRequest.h:122
Aws::LookoutforVision::Model::DescribeModelRequest::SetModelVersion
void SetModelVersion(const Aws::String &value)
Definition: DescribeModelRequest.h:97
Aws::LookoutforVision::Model::DescribeModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeModelRequest.h:30
LookoutforVisionRequest.h
Aws::LookoutforVision::Model::DescribeModelRequest::SetModelVersion
void SetModelVersion(const char *value)
Definition: DescribeModelRequest.h:107
Aws::LookoutforVision::Model::DescribeModelRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: DescribeModelRequest.h:45
Aws::LookoutforVision::Model::DescribeModelRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: DescribeModelRequest.h:57
Aws::LookoutforVision::Model::DescribeModelRequest::SetModelVersion
void SetModelVersion(Aws::String &&value)
Definition: DescribeModelRequest.h:102
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DescribeModelRequest::GetModelVersion
const Aws::String & GetModelVersion() const
Definition: DescribeModelRequest.h:87
Aws::LookoutforVision::Model::DescribeModelRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: DescribeModelRequest.h:39
Aws::LookoutforVision::Model::DescribeModelRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: DescribeModelRequest.h:51
Aws::LookoutforVision::LookoutforVisionRequest
Definition: LookoutforVisionRequest.h:18
Aws::LookoutforVision::Model::DescribeModelRequest::WithProjectName
DescribeModelRequest & WithProjectName(const char *value)
Definition: DescribeModelRequest.h:81
Aws::LookoutforVision::Model::DescribeModelRequest::WithModelVersion
DescribeModelRequest & WithModelVersion(Aws::String &&value)
Definition: DescribeModelRequest.h:117
Aws::LookoutforVision::Model::DescribeModelRequest::WithModelVersion
DescribeModelRequest & WithModelVersion(const Aws::String &value)
Definition: DescribeModelRequest.h:112
AWSString.h
Aws::LookoutforVision::Model::DescribeModelRequest::SetProjectName
void SetProjectName(const char *value)
Definition: DescribeModelRequest.h:63
Aws::LookoutforVision::Model::DescribeModelRequest::ModelVersionHasBeenSet
bool ModelVersionHasBeenSet() const
Definition: DescribeModelRequest.h:92
Aws::LookoutforVision::Model::DescribeModelRequest
Definition: DescribeModelRequest.h:22
Aws::LookoutforVision::Model::DescribeModelRequest::WithProjectName
DescribeModelRequest & WithProjectName(const Aws::String &value)
Definition: DescribeModelRequest.h:69
Aws::LookoutforVision::Model::DescribeModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::DescribeModelRequest::WithProjectName
DescribeModelRequest & WithProjectName(Aws::String &&value)
Definition: DescribeModelRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::DescribeModelRequest::DescribeModelRequest
DescribeModelRequest()