AWS SDK for C++  1.9.105
AWS SDK for C++
UpdatePrivateDnsNamespaceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace ServiceDiscovery
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetId() const{ return m_id; }
43 
47  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 
52  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
62  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 
67  inline UpdatePrivateDnsNamespaceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline UpdatePrivateDnsNamespaceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline UpdatePrivateDnsNamespaceRequest& WithId(const char* value) { SetId(value); return *this;}
78 
79 
86  inline const Aws::String& GetUpdaterRequestId() const{ return m_updaterRequestId; }
87 
94  inline bool UpdaterRequestIdHasBeenSet() const { return m_updaterRequestIdHasBeenSet; }
95 
102  inline void SetUpdaterRequestId(const Aws::String& value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId = value; }
103 
110  inline void SetUpdaterRequestId(Aws::String&& value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId = std::move(value); }
111 
118  inline void SetUpdaterRequestId(const char* value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId.assign(value); }
119 
126  inline UpdatePrivateDnsNamespaceRequest& WithUpdaterRequestId(const Aws::String& value) { SetUpdaterRequestId(value); return *this;}
127 
134  inline UpdatePrivateDnsNamespaceRequest& WithUpdaterRequestId(Aws::String&& value) { SetUpdaterRequestId(std::move(value)); return *this;}
135 
142  inline UpdatePrivateDnsNamespaceRequest& WithUpdaterRequestId(const char* value) { SetUpdaterRequestId(value); return *this;}
143 
144 
148  inline const PrivateDnsNamespaceChange& GetNamespace() const{ return m_namespace; }
149 
153  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
154 
158  inline void SetNamespace(const PrivateDnsNamespaceChange& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
159 
163  inline void SetNamespace(PrivateDnsNamespaceChange&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
164 
168  inline UpdatePrivateDnsNamespaceRequest& WithNamespace(const PrivateDnsNamespaceChange& value) { SetNamespace(value); return *this;}
169 
173  inline UpdatePrivateDnsNamespaceRequest& WithNamespace(PrivateDnsNamespaceChange&& value) { SetNamespace(std::move(value)); return *this;}
174 
175  private:
176 
177  Aws::String m_id;
178  bool m_idHasBeenSet;
179 
180  Aws::String m_updaterRequestId;
181  bool m_updaterRequestIdHasBeenSet;
182 
183  PrivateDnsNamespaceChange m_namespace;
184  bool m_namespaceHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace ServiceDiscovery
189 } // namespace Aws
ServiceDiscoveryRequest.h
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::UpdatePrivateDnsNamespaceRequest
UpdatePrivateDnsNamespaceRequest()
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::UpdaterRequestIdHasBeenSet
bool UpdaterRequestIdHasBeenSet() const
Definition: UpdatePrivateDnsNamespaceRequest.h:94
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdatePrivateDnsNamespaceRequest.h:57
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePrivateDnsNamespaceRequest.h:32
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::GetNamespace
const PrivateDnsNamespaceChange & GetNamespace() const
Definition: UpdatePrivateDnsNamespaceRequest.h:148
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithNamespace
UpdatePrivateDnsNamespaceRequest & WithNamespace(const PrivateDnsNamespaceChange &value)
Definition: UpdatePrivateDnsNamespaceRequest.h:168
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetUpdaterRequestId
void SetUpdaterRequestId(Aws::String &&value)
Definition: UpdatePrivateDnsNamespaceRequest.h:110
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdatePrivateDnsNamespaceRequest.h:52
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange
Definition: PrivateDnsNamespaceChange.h:34
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest
Definition: UpdatePrivateDnsNamespaceRequest.h:24
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithId
UpdatePrivateDnsNamespaceRequest & WithId(const char *value)
Definition: UpdatePrivateDnsNamespaceRequest.h:77
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetUpdaterRequestId
void SetUpdaterRequestId(const char *value)
Definition: UpdatePrivateDnsNamespaceRequest.h:118
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::GetId
const Aws::String & GetId() const
Definition: UpdatePrivateDnsNamespaceRequest.h:42
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithUpdaterRequestId
UpdatePrivateDnsNamespaceRequest & WithUpdaterRequestId(const char *value)
Definition: UpdatePrivateDnsNamespaceRequest.h:142
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetNamespace
void SetNamespace(PrivateDnsNamespaceChange &&value)
Definition: UpdatePrivateDnsNamespaceRequest.h:163
Aws::ServiceDiscovery::ServiceDiscoveryRequest
Definition: ServiceDiscoveryRequest.h:17
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithNamespace
UpdatePrivateDnsNamespaceRequest & WithNamespace(PrivateDnsNamespaceChange &&value)
Definition: UpdatePrivateDnsNamespaceRequest.h:173
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: UpdatePrivateDnsNamespaceRequest.h:153
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetUpdaterRequestId
void SetUpdaterRequestId(const Aws::String &value)
Definition: UpdatePrivateDnsNamespaceRequest.h:102
AWSString.h
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdatePrivateDnsNamespaceRequest.h:47
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetId
void SetId(const char *value)
Definition: UpdatePrivateDnsNamespaceRequest.h:62
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithId
UpdatePrivateDnsNamespaceRequest & WithId(const Aws::String &value)
Definition: UpdatePrivateDnsNamespaceRequest.h:67
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::GetUpdaterRequestId
const Aws::String & GetUpdaterRequestId() const
Definition: UpdatePrivateDnsNamespaceRequest.h:86
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::SetNamespace
void SetNamespace(const PrivateDnsNamespaceChange &value)
Definition: UpdatePrivateDnsNamespaceRequest.h:158
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithId
UpdatePrivateDnsNamespaceRequest & WithId(Aws::String &&value)
Definition: UpdatePrivateDnsNamespaceRequest.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithUpdaterRequestId
UpdatePrivateDnsNamespaceRequest & WithUpdaterRequestId(const Aws::String &value)
Definition: UpdatePrivateDnsNamespaceRequest.h:126
PrivateDnsNamespaceChange.h
UUID.h
Aws::ServiceDiscovery::Model::UpdatePrivateDnsNamespaceRequest::WithUpdaterRequestId
UpdatePrivateDnsNamespaceRequest & WithUpdaterRequestId(Aws::String &&value)
Definition: UpdatePrivateDnsNamespaceRequest.h:134