AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdatePublicDnsNamespaceRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
10#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
11#include <aws/servicediscovery/model/PublicDnsNamespaceChange.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ServiceDiscovery {
17namespace Model {
18
22 public:
23 AWS_SERVICEDISCOVERY_API UpdatePublicDnsNamespaceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdatePublicDnsNamespace"; }
30
31 AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override;
32
33 AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::String& GetUpdaterRequestId() const { return m_updaterRequestId; }
61 inline bool UpdaterRequestIdHasBeenSet() const { return m_updaterRequestIdHasBeenSet; }
62 template <typename UpdaterRequestIdT = Aws::String>
63 void SetUpdaterRequestId(UpdaterRequestIdT&& value) {
64 m_updaterRequestIdHasBeenSet = true;
65 m_updaterRequestId = std::forward<UpdaterRequestIdT>(value);
66 }
67 template <typename UpdaterRequestIdT = Aws::String>
69 SetUpdaterRequestId(std::forward<UpdaterRequestIdT>(value));
70 return *this;
71 }
73
75
78 inline const PublicDnsNamespaceChange& GetNamespace() const { return m_namespace; }
79 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
80 template <typename NamespaceT = PublicDnsNamespaceChange>
81 void SetNamespace(NamespaceT&& value) {
82 m_namespaceHasBeenSet = true;
83 m_namespace = std::forward<NamespaceT>(value);
84 }
85 template <typename NamespaceT = PublicDnsNamespaceChange>
87 SetNamespace(std::forward<NamespaceT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_id;
93 bool m_idHasBeenSet = false;
94
96 bool m_updaterRequestIdHasBeenSet = true;
97
98 PublicDnsNamespaceChange m_namespace;
99 bool m_namespaceHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace ServiceDiscovery
104} // namespace Aws
UpdatePublicDnsNamespaceRequest & WithUpdaterRequestId(UpdaterRequestIdT &&value)
UpdatePublicDnsNamespaceRequest & WithNamespace(NamespaceT &&value)
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICEDISCOVERY_API UpdatePublicDnsNamespaceRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String