AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
UpdateRegistryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/RegistryId.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API UpdateRegistryRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateRegistry"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const RegistryId& GetRegistryId() const { return m_registryId; }
40 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
41 template <typename RegistryIdT = RegistryId>
42 void SetRegistryId(RegistryIdT&& value) {
43 m_registryIdHasBeenSet = true;
44 m_registryId = std::forward<RegistryIdT>(value);
45 }
46 template <typename RegistryIdT = RegistryId>
47 UpdateRegistryRequest& WithRegistryId(RegistryIdT&& value) {
48 SetRegistryId(std::forward<RegistryIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 UpdateRegistryRequest& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71 private:
72 RegistryId m_registryId;
73 bool m_registryIdHasBeenSet = false;
74
75 Aws::String m_description;
76 bool m_descriptionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Glue
81} // namespace Aws
UpdateRegistryRequest & WithDescription(DescriptionT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRegistryRequest & WithRegistryId(RegistryIdT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API UpdateRegistryRequest()=default
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