AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscoverInstancesRevisionRequest.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 <utility>
11
12namespace Aws
13{
14namespace ServiceDiscovery
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SERVICEDISCOVERY_API DiscoverInstancesRevisionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DiscoverInstancesRevision"; }
31
32 AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override;
33
34 AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
43 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
44 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
45 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
46 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
47 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
49 inline DiscoverInstancesRevisionRequest& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
50 inline DiscoverInstancesRevisionRequest& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
52
54
58 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
59 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
60 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
61 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
62 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
63 inline DiscoverInstancesRevisionRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
64 inline DiscoverInstancesRevisionRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
65 inline DiscoverInstancesRevisionRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
67 private:
68
69 Aws::String m_namespaceName;
70 bool m_namespaceNameHasBeenSet = false;
71
72 Aws::String m_serviceName;
73 bool m_serviceNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ServiceDiscovery
78} // namespace Aws
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
DiscoverInstancesRevisionRequest & WithNamespaceName(Aws::String &&value)
DiscoverInstancesRevisionRequest & WithNamespaceName(const char *value)
DiscoverInstancesRevisionRequest & WithServiceName(Aws::String &&value)
DiscoverInstancesRevisionRequest & WithServiceName(const char *value)
DiscoverInstancesRevisionRequest & WithNamespaceName(const Aws::String &value)
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DiscoverInstancesRevisionRequest & WithServiceName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String