AWS SDK for C++  1.9.104
AWS SDK for C++
UpdatePublicDnsNamespaceRequest.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 "UpdatePublicDnsNamespace"; }
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 UpdatePublicDnsNamespaceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline UpdatePublicDnsNamespaceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline UpdatePublicDnsNamespaceRequest& 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 UpdatePublicDnsNamespaceRequest& WithUpdaterRequestId(const Aws::String& value) { SetUpdaterRequestId(value); return *this;}
127 
134  inline UpdatePublicDnsNamespaceRequest& WithUpdaterRequestId(Aws::String&& value) { SetUpdaterRequestId(std::move(value)); return *this;}
135 
142  inline UpdatePublicDnsNamespaceRequest& WithUpdaterRequestId(const char* value) { SetUpdaterRequestId(value); return *this;}
143 
144 
148  inline const PublicDnsNamespaceChange& GetNamespace() const{ return m_namespace; }
149 
153  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
154 
158  inline void SetNamespace(const PublicDnsNamespaceChange& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
159 
163  inline void SetNamespace(PublicDnsNamespaceChange&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
164 
168  inline UpdatePublicDnsNamespaceRequest& WithNamespace(const PublicDnsNamespaceChange& value) { SetNamespace(value); return *this;}
169 
173  inline UpdatePublicDnsNamespaceRequest& WithNamespace(PublicDnsNamespaceChange&& 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  PublicDnsNamespaceChange m_namespace;
184  bool m_namespaceHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace ServiceDiscovery
189 } // namespace Aws
ServiceDiscoveryRequest.h
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithId
UpdatePublicDnsNamespaceRequest & WithId(const char *value)
Definition: UpdatePublicDnsNamespaceRequest.h:77
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::UpdaterRequestIdHasBeenSet
bool UpdaterRequestIdHasBeenSet() const
Definition: UpdatePublicDnsNamespaceRequest.h:94
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdatePublicDnsNamespaceRequest.h:47
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::UpdatePublicDnsNamespaceRequest::GetId
const Aws::String & GetId() const
Definition: UpdatePublicDnsNamespaceRequest.h:42
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithId
UpdatePublicDnsNamespaceRequest & WithId(Aws::String &&value)
Definition: UpdatePublicDnsNamespaceRequest.h:72
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: UpdatePublicDnsNamespaceRequest.h:153
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange
Definition: PublicDnsNamespaceChange.h:34
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithUpdaterRequestId
UpdatePublicDnsNamespaceRequest & WithUpdaterRequestId(const char *value)
Definition: UpdatePublicDnsNamespaceRequest.h:142
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithNamespace
UpdatePublicDnsNamespaceRequest & WithNamespace(const PublicDnsNamespaceChange &value)
Definition: UpdatePublicDnsNamespaceRequest.h:168
PublicDnsNamespaceChange.h
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetId
void SetId(const char *value)
Definition: UpdatePublicDnsNamespaceRequest.h:62
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetNamespace
void SetNamespace(const PublicDnsNamespaceChange &value)
Definition: UpdatePublicDnsNamespaceRequest.h:158
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithId
UpdatePublicDnsNamespaceRequest & WithId(const Aws::String &value)
Definition: UpdatePublicDnsNamespaceRequest.h:67
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::GetUpdaterRequestId
const Aws::String & GetUpdaterRequestId() const
Definition: UpdatePublicDnsNamespaceRequest.h:86
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetUpdaterRequestId
void SetUpdaterRequestId(Aws::String &&value)
Definition: UpdatePublicDnsNamespaceRequest.h:110
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetNamespace
void SetNamespace(PublicDnsNamespaceChange &&value)
Definition: UpdatePublicDnsNamespaceRequest.h:163
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetUpdaterRequestId
void SetUpdaterRequestId(const char *value)
Definition: UpdatePublicDnsNamespaceRequest.h:118
Aws::ServiceDiscovery::ServiceDiscoveryRequest
Definition: ServiceDiscoveryRequest.h:17
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::UpdatePublicDnsNamespaceRequest
UpdatePublicDnsNamespaceRequest()
AWSString.h
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdatePublicDnsNamespaceRequest.h:57
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithNamespace
UpdatePublicDnsNamespaceRequest & WithNamespace(PublicDnsNamespaceChange &&value)
Definition: UpdatePublicDnsNamespaceRequest.h:173
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePublicDnsNamespaceRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetUpdaterRequestId
void SetUpdaterRequestId(const Aws::String &value)
Definition: UpdatePublicDnsNamespaceRequest.h:102
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::GetNamespace
const PublicDnsNamespaceChange & GetNamespace() const
Definition: UpdatePublicDnsNamespaceRequest.h:148
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithUpdaterRequestId
UpdatePublicDnsNamespaceRequest & WithUpdaterRequestId(Aws::String &&value)
Definition: UpdatePublicDnsNamespaceRequest.h:134
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::WithUpdaterRequestId
UpdatePublicDnsNamespaceRequest & WithUpdaterRequestId(const Aws::String &value)
Definition: UpdatePublicDnsNamespaceRequest.h:126
UUID.h
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdatePublicDnsNamespaceRequest.h:52
Aws::ServiceDiscovery::Model::UpdatePublicDnsNamespaceRequest
Definition: UpdatePublicDnsNamespaceRequest.h:24