AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBasePathMappingRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace APIGateway
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_APIGATEWAY_API GetBasePathMappingRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetBasePathMapping"; }
38
39 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
40
41 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetDomainName() const { return m_domainName; }
49 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 template<typename DomainNameT = Aws::String>
51 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
52 template<typename DomainNameT = Aws::String>
53 GetBasePathMappingRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
55
57
61 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
62 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
63 template<typename DomainNameIdT = Aws::String>
64 void SetDomainNameId(DomainNameIdT&& value) { m_domainNameIdHasBeenSet = true; m_domainNameId = std::forward<DomainNameIdT>(value); }
65 template<typename DomainNameIdT = Aws::String>
66 GetBasePathMappingRequest& WithDomainNameId(DomainNameIdT&& value) { SetDomainNameId(std::forward<DomainNameIdT>(value)); return *this;}
68
70
76 inline const Aws::String& GetBasePath() const { return m_basePath; }
77 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
78 template<typename BasePathT = Aws::String>
79 void SetBasePath(BasePathT&& value) { m_basePathHasBeenSet = true; m_basePath = std::forward<BasePathT>(value); }
80 template<typename BasePathT = Aws::String>
81 GetBasePathMappingRequest& WithBasePath(BasePathT&& value) { SetBasePath(std::forward<BasePathT>(value)); return *this;}
83 private:
84
85 Aws::String m_domainName;
86 bool m_domainNameHasBeenSet = false;
87
88 Aws::String m_domainNameId;
89 bool m_domainNameIdHasBeenSet = false;
90
91 Aws::String m_basePath;
92 bool m_basePathHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace APIGateway
97} // 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