AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRegistryRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/RegistryId.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API UpdateRegistryRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRegistry"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const RegistryId& GetRegistryId() const{ return m_registryId; }
44 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
45 inline void SetRegistryId(const RegistryId& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
46 inline void SetRegistryId(RegistryId&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
47 inline UpdateRegistryRequest& WithRegistryId(const RegistryId& value) { SetRegistryId(value); return *this;}
48 inline UpdateRegistryRequest& WithRegistryId(RegistryId&& value) { SetRegistryId(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline UpdateRegistryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline UpdateRegistryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline UpdateRegistryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65 private:
66
67 RegistryId m_registryId;
68 bool m_registryIdHasBeenSet = false;
69
70 Aws::String m_description;
71 bool m_descriptionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
UpdateRegistryRequest & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdateRegistryRequest & WithDescription(Aws::String &&value)
UpdateRegistryRequest & WithDescription(const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRegistryRequest & WithRegistryId(const RegistryId &value)
void SetRegistryId(const RegistryId &value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateRegistryRequest & WithRegistryId(RegistryId &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String