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