AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
GetBasePathMappingsRequest.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
27 public:
28 AWS_APIGATEWAY_API GetBasePathMappingsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetBasePathMappings"; }
35
36 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetDomainName() const { return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 template <typename DomainNameT = Aws::String>
47 void SetDomainName(DomainNameT&& value) {
48 m_domainNameHasBeenSet = true;
49 m_domainName = std::forward<DomainNameT>(value);
50 }
51 template <typename DomainNameT = Aws::String>
53 SetDomainName(std::forward<DomainNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
64 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
65 template <typename DomainNameIdT = Aws::String>
66 void SetDomainNameId(DomainNameIdT&& value) {
67 m_domainNameIdHasBeenSet = true;
68 m_domainNameId = std::forward<DomainNameIdT>(value);
69 }
70 template <typename DomainNameIdT = Aws::String>
72 SetDomainNameId(std::forward<DomainNameIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetPosition() const { return m_position; }
82 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
83 template <typename PositionT = Aws::String>
84 void SetPosition(PositionT&& value) {
85 m_positionHasBeenSet = true;
86 m_position = std::forward<PositionT>(value);
87 }
88 template <typename PositionT = Aws::String>
90 SetPosition(std::forward<PositionT>(value));
91 return *this;
92 }
94
96
100 inline int GetLimit() const { return m_limit; }
101 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
102 inline void SetLimit(int value) {
103 m_limitHasBeenSet = true;
104 m_limit = value;
105 }
107 SetLimit(value);
108 return *this;
109 }
111 private:
112 Aws::String m_domainName;
113
114 Aws::String m_domainNameId;
115
116 Aws::String m_position;
117
118 int m_limit{0};
119 bool m_domainNameHasBeenSet = false;
120 bool m_domainNameIdHasBeenSet = false;
121 bool m_positionHasBeenSet = false;
122 bool m_limitHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace APIGateway
127} // 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