AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetBasePathMappingRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace APIGateway {
18namespace Model {
19
26 public:
27 AWS_APIGATEWAY_API GetBasePathMappingRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetBasePathMapping"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
37 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 template <typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) {
47 m_domainNameHasBeenSet = true;
48 m_domainName = std::forward<DomainNameT>(value);
49 }
50 template <typename DomainNameT = Aws::String>
52 SetDomainName(std::forward<DomainNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
63 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
64 template <typename DomainNameIdT = Aws::String>
65 void SetDomainNameId(DomainNameIdT&& value) {
66 m_domainNameIdHasBeenSet = true;
67 m_domainNameId = std::forward<DomainNameIdT>(value);
68 }
69 template <typename DomainNameIdT = Aws::String>
71 SetDomainNameId(std::forward<DomainNameIdT>(value));
72 return *this;
73 }
75
77
83 inline const Aws::String& GetBasePath() const { return m_basePath; }
84 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
85 template <typename BasePathT = Aws::String>
86 void SetBasePath(BasePathT&& value) {
87 m_basePathHasBeenSet = true;
88 m_basePath = std::forward<BasePathT>(value);
89 }
90 template <typename BasePathT = Aws::String>
92 SetBasePath(std::forward<BasePathT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_domainName;
98
99 Aws::String m_domainNameId;
100
101 Aws::String m_basePath;
102 bool m_domainNameHasBeenSet = false;
103 bool m_domainNameIdHasBeenSet = false;
104 bool m_basePathHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace APIGateway
109} // namespace Aws
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetBasePathMappingRequest & WithBasePath(BasePathT &&value)
AWS_APIGATEWAY_API GetBasePathMappingRequest()=default
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetBasePathMappingRequest & WithDomainName(DomainNameT &&value)
GetBasePathMappingRequest & WithDomainNameId(DomainNameIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String