AWS SDK for C++  1.8.127
AWS SDK for C++
UpdateRegistryRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateRegistry"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetDescription() const{ return m_description; }
42 
46  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 
51  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
52 
56  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
57 
61  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 
66  inline UpdateRegistryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 
71  inline UpdateRegistryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 
76  inline UpdateRegistryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77 
78 
82  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
83 
87  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
88 
92  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
93 
97  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
98 
102  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
103 
107  inline UpdateRegistryRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
108 
112  inline UpdateRegistryRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
113 
117  inline UpdateRegistryRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
118 
119  private:
120 
121  Aws::String m_description;
122  bool m_descriptionHasBeenSet;
123 
124  Aws::String m_registryName;
125  bool m_registryNameHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace Schemas
130 } // namespace Aws
Aws::Schemas::Model::UpdateRegistryRequest::WithDescription
UpdateRegistryRequest & WithDescription(const Aws::String &value)
Definition: UpdateRegistryRequest.h:66
Aws::Schemas::Model::UpdateRegistryRequest
Definition: UpdateRegistryRequest.h:25
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::UpdateRegistryRequest::WithDescription
UpdateRegistryRequest & WithDescription(Aws::String &&value)
Definition: UpdateRegistryRequest.h:71
Aws::Schemas::Model::UpdateRegistryRequest::WithRegistryName
UpdateRegistryRequest & WithRegistryName(const Aws::String &value)
Definition: UpdateRegistryRequest.h:107
Aws::Schemas::Model::UpdateRegistryRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: UpdateRegistryRequest.h:102
Schemas_EXPORTS.h
Aws::Schemas::Model::UpdateRegistryRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: UpdateRegistryRequest.h:97
Aws::Schemas::Model::UpdateRegistryRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateRegistryRequest.h:41
AWSString.h
Aws::Schemas::Model::UpdateRegistryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::UpdateRegistryRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateRegistryRequest.h:46
Aws::Schemas::Model::UpdateRegistryRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: UpdateRegistryRequest.h:87
Aws::Schemas::Model::UpdateRegistryRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: UpdateRegistryRequest.h:82
Aws::Schemas::Model::UpdateRegistryRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateRegistryRequest.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::UpdateRegistryRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateRegistryRequest.h:51
Aws::Schemas::Model::UpdateRegistryRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateRegistryRequest.h:56
Aws::Schemas::Model::UpdateRegistryRequest::WithRegistryName
UpdateRegistryRequest & WithRegistryName(const char *value)
Definition: UpdateRegistryRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::UpdateRegistryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRegistryRequest.h:33
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::UpdateRegistryRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: UpdateRegistryRequest.h:92
Aws::Schemas::Model::UpdateRegistryRequest::WithRegistryName
UpdateRegistryRequest & WithRegistryName(Aws::String &&value)
Definition: UpdateRegistryRequest.h:112
Aws::Schemas::Model::UpdateRegistryRequest::UpdateRegistryRequest
UpdateRegistryRequest()
Aws::Schemas::Model::UpdateRegistryRequest::WithDescription
UpdateRegistryRequest & WithDescription(const char *value)
Definition: UpdateRegistryRequest.h:76