AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeProjectRequest.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 "DescribeProject"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetProjectName() const{ return m_projectName; }
39 
43  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
44 
48  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
49 
53  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
54 
58  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
59 
63  inline DescribeProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
64 
68  inline DescribeProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
69 
73  inline DescribeProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_projectName;
78  bool m_projectNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace LookoutforVision
83 } // namespace Aws
LookoutforVisionRequest.h
Aws::LookoutforVision::Model::DescribeProjectRequest::SetProjectName
void SetProjectName(const char *value)
Definition: DescribeProjectRequest.h:58
Aws::LookoutforVision::Model::DescribeProjectRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: DescribeProjectRequest.h:53
Aws::LookoutforVision::Model::DescribeProjectRequest::WithProjectName
DescribeProjectRequest & WithProjectName(const Aws::String &value)
Definition: DescribeProjectRequest.h:63
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DescribeProjectRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: DescribeProjectRequest.h:38
Aws::LookoutforVision::LookoutforVisionRequest
Definition: LookoutforVisionRequest.h:18
Aws::LookoutforVision::Model::DescribeProjectRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: DescribeProjectRequest.h:48
Aws::LookoutforVision::Model::DescribeProjectRequest
Definition: DescribeProjectRequest.h:22
Aws::LookoutforVision::Model::DescribeProjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProjectRequest.h:30
Aws::LookoutforVision::Model::DescribeProjectRequest::WithProjectName
DescribeProjectRequest & WithProjectName(Aws::String &&value)
Definition: DescribeProjectRequest.h:68
AWSString.h
Aws::LookoutforVision::Model::DescribeProjectRequest::DescribeProjectRequest
DescribeProjectRequest()
Aws::LookoutforVision::Model::DescribeProjectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
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::DescribeProjectRequest::WithProjectName
DescribeProjectRequest & WithProjectName(const char *value)
Definition: DescribeProjectRequest.h:73
Aws::LookoutforVision::Model::DescribeProjectRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: DescribeProjectRequest.h:43