AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeRegistryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Schemas
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 "DescribeRegistry"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
39 
43  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
44 
48  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
49 
53  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
54 
58  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
59 
63  inline DescribeRegistryRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
64 
68  inline DescribeRegistryRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
69 
73  inline DescribeRegistryRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_registryName;
78  bool m_registryNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Schemas
83 } // namespace Aws
Aws::Schemas::Model::DescribeRegistryRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: DescribeRegistryRequest.h:53
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::DescribeRegistryRequest
Definition: DescribeRegistryRequest.h:22
Aws::Schemas::Model::DescribeRegistryRequest::DescribeRegistryRequest
DescribeRegistryRequest()
Aws::Schemas::Model::DescribeRegistryRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: DescribeRegistryRequest.h:58
Aws::Schemas::Model::DescribeRegistryRequest::WithRegistryName
DescribeRegistryRequest & WithRegistryName(Aws::String &&value)
Definition: DescribeRegistryRequest.h:68
Aws::Schemas::Model::DescribeRegistryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::DescribeRegistryRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: DescribeRegistryRequest.h:43
Aws::Schemas::Model::DescribeRegistryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRegistryRequest.h:30
Aws::Schemas::Model::DescribeRegistryRequest::WithRegistryName
DescribeRegistryRequest & WithRegistryName(const char *value)
Definition: DescribeRegistryRequest.h:73
Aws::Schemas::Model::DescribeRegistryRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: DescribeRegistryRequest.h:48
Schemas_EXPORTS.h
Aws::Schemas::Model::DescribeRegistryRequest::WithRegistryName
DescribeRegistryRequest & WithRegistryName(const Aws::String &value)
Definition: DescribeRegistryRequest.h:63
Aws::Schemas::Model::DescribeRegistryRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: DescribeRegistryRequest.h:38
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28