AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 UpdatePrivateDnsNamespaceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
58 inline const Aws::String& GetUpdaterRequestId() const { return m_updaterRequestId; }
59 inline bool UpdaterRequestIdHasBeenSet() const { return m_updaterRequestIdHasBeenSet; }
60 template<typename UpdaterRequestIdT = Aws::String>
61 void SetUpdaterRequestId(UpdaterRequestIdT&& value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId = std::forward<UpdaterRequestIdT>(value); }
62 template<typename UpdaterRequestIdT = Aws::String>
63 UpdatePrivateDnsNamespaceRequest& WithUpdaterRequestId(UpdaterRequestIdT&& value) { SetUpdaterRequestId(std::forward<UpdaterRequestIdT>(value)); return *this;}
65
67
70 inline const PrivateDnsNamespaceChange& GetNamespace() const { return m_namespace; }
71 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
72 template<typename NamespaceT = PrivateDnsNamespaceChange>
73 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
74 template<typename NamespaceT = PrivateDnsNamespaceChange>
75 UpdatePrivateDnsNamespaceRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
77 private:
78
79 Aws::String m_id;
80 bool m_idHasBeenSet = false;
81
83 bool m_updaterRequestIdHasBeenSet = true;
84
85 PrivateDnsNamespaceChange m_namespace;
86 bool m_namespaceHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ServiceDiscovery
91} // 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