AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBasePathMappingsRequest.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
30 {
31 public:
32 AWS_APIGATEWAY_API GetBasePathMappingsRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "GetBasePathMappings"; }
39
40 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
41
42 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetDomainName() const { return m_domainName; }
50 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 template<typename DomainNameT = Aws::String>
52 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
53 template<typename DomainNameT = Aws::String>
54 GetBasePathMappingsRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
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) { m_domainNameIdHasBeenSet = true; m_domainNameId = std::forward<DomainNameIdT>(value); }
66 template<typename DomainNameIdT = Aws::String>
67 GetBasePathMappingsRequest& WithDomainNameId(DomainNameIdT&& value) { SetDomainNameId(std::forward<DomainNameIdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetPosition() const { return m_position; }
75 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
76 template<typename PositionT = Aws::String>
77 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
78 template<typename PositionT = Aws::String>
79 GetBasePathMappingsRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
81
83
87 inline int GetLimit() const { return m_limit; }
88 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
89 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
90 inline GetBasePathMappingsRequest& WithLimit(int value) { SetLimit(value); return *this;}
92 private:
93
94 Aws::String m_domainName;
95 bool m_domainNameHasBeenSet = false;
96
97 Aws::String m_domainNameId;
98 bool m_domainNameIdHasBeenSet = false;
99
100 Aws::String m_position;
101 bool m_positionHasBeenSet = false;
102
103 int m_limit{0};
104 bool m_limitHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace APIGateway
109} // namespace Aws
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetBasePathMappingsRequest & WithDomainNameId(DomainNameIdT &&value)
GetBasePathMappingsRequest & WithPosition(PositionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetBasePathMappingsRequest & WithDomainName(DomainNameT &&value)
AWS_APIGATEWAY_API GetBasePathMappingsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String