AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateHttpNamespaceRequest.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/HttpNamespaceChange.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 UpdateHttpNamespaceRequest();
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_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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
46 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
47 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
48 inline UpdateHttpNamespaceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline UpdateHttpNamespaceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline UpdateHttpNamespaceRequest& WithId(const char* value) { SetId(value); return *this;}
52
54
60 inline const Aws::String& GetUpdaterRequestId() const{ return m_updaterRequestId; }
61 inline bool UpdaterRequestIdHasBeenSet() const { return m_updaterRequestIdHasBeenSet; }
62 inline void SetUpdaterRequestId(const Aws::String& value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId = value; }
63 inline void SetUpdaterRequestId(Aws::String&& value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId = std::move(value); }
64 inline void SetUpdaterRequestId(const char* value) { m_updaterRequestIdHasBeenSet = true; m_updaterRequestId.assign(value); }
66 inline UpdateHttpNamespaceRequest& WithUpdaterRequestId(Aws::String&& value) { SetUpdaterRequestId(std::move(value)); return *this;}
67 inline UpdateHttpNamespaceRequest& WithUpdaterRequestId(const char* value) { SetUpdaterRequestId(value); return *this;}
69
71
74 inline const HttpNamespaceChange& GetNamespace() const{ return m_namespace; }
75 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
76 inline void SetNamespace(const HttpNamespaceChange& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
77 inline void SetNamespace(HttpNamespaceChange&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
78 inline UpdateHttpNamespaceRequest& WithNamespace(const HttpNamespaceChange& value) { SetNamespace(value); return *this;}
79 inline UpdateHttpNamespaceRequest& WithNamespace(HttpNamespaceChange&& value) { SetNamespace(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_updaterRequestId;
87 bool m_updaterRequestIdHasBeenSet = false;
88
89 HttpNamespaceChange m_namespace;
90 bool m_namespaceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ServiceDiscovery
95} // namespace Aws
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateHttpNamespaceRequest & WithId(Aws::String &&value)
UpdateHttpNamespaceRequest & WithNamespace(const HttpNamespaceChange &value)
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
UpdateHttpNamespaceRequest & WithUpdaterRequestId(const Aws::String &value)
UpdateHttpNamespaceRequest & WithUpdaterRequestId(const char *value)
UpdateHttpNamespaceRequest & WithId(const Aws::String &value)
UpdateHttpNamespaceRequest & WithUpdaterRequestId(Aws::String &&value)
UpdateHttpNamespaceRequest & WithId(const char *value)
UpdateHttpNamespaceRequest & WithNamespace(HttpNamespaceChange &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String