AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
UpdatePrivateDnsNamespaceRequest.h
1
6#pragma once
7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicediscovery/model/PrivateDnsNamespaceChange.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ServiceDiscovery
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SERVICEDISCOVERY_API UpdatePrivateDnsNamespaceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdatePrivateDnsNamespace"; }
33
34 AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override;
35
36 AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 UpdatePrivateDnsNamespaceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
59 inline const Aws::String& GetUpdaterRequestId() const { return m_updaterRequestId; }
60 inline bool UpdaterRequestIdHasBeenSet() const { return m_updaterRequestIdHasBeenSet; }
61 template<typename UpdaterRequestIdT = Aws::String>
62 void SetUpdaterRequestId(UpdaterRequestIdT&& value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId = std::forward<UpdaterRequestIdT>(value); }
63 template<typename UpdaterRequestIdT = Aws::String>
64 UpdatePrivateDnsNamespaceRequest& WithUpdaterRequestId(UpdaterRequestIdT&& value) { SetUpdaterRequestId(std::forward<UpdaterRequestIdT>(value)); return *this;}
66
68
71 inline const PrivateDnsNamespaceChange& GetNamespace() const { return m_namespace; }
72 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
73 template<typename NamespaceT = PrivateDnsNamespaceChange>
74 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
75 template<typename NamespaceT = PrivateDnsNamespaceChange>
76 UpdatePrivateDnsNamespaceRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
78 private:
79
80 Aws::String m_id;
81 bool m_idHasBeenSet = false;
82
84 bool m_updaterRequestIdHasBeenSet = true;
85
86 PrivateDnsNamespaceChange m_namespace;
87 bool m_namespaceHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ServiceDiscovery
92} // namespace Aws
UpdatePrivateDnsNamespaceRequest & WithNamespace(NamespaceT &&value)
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICEDISCOVERY_API UpdatePrivateDnsNamespaceRequest()=default
UpdatePrivateDnsNamespaceRequest & WithUpdaterRequestId(UpdaterRequestIdT &&value)
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String