AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetDomainNamesRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/ResourceOwner.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace APIGateway {
19namespace Model {
20
28 public:
29 AWS_APIGATEWAY_API GetDomainNamesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetDomainNames"; }
36
37 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
38
39 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
45 inline const Aws::String& GetPosition() const { return m_position; }
46 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
47 template <typename PositionT = Aws::String>
48 void SetPosition(PositionT&& value) {
49 m_positionHasBeenSet = true;
50 m_position = std::forward<PositionT>(value);
51 }
52 template <typename PositionT = Aws::String>
53 GetDomainNamesRequest& WithPosition(PositionT&& value) {
54 SetPosition(std::forward<PositionT>(value));
55 return *this;
56 }
58
60
64 inline int GetLimit() const { return m_limit; }
65 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
66 inline void SetLimit(int value) {
67 m_limitHasBeenSet = true;
68 m_limit = value;
69 }
70 inline GetDomainNamesRequest& WithLimit(int value) {
71 SetLimit(value);
72 return *this;
73 }
75
77
80 inline ResourceOwner GetResourceOwner() const { return m_resourceOwner; }
81 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
82 inline void SetResourceOwner(ResourceOwner value) {
83 m_resourceOwnerHasBeenSet = true;
84 m_resourceOwner = value;
85 }
87 SetResourceOwner(value);
88 return *this;
89 }
91 private:
92 Aws::String m_position;
93
94 int m_limit{0};
95
97 bool m_positionHasBeenSet = false;
98 bool m_limitHasBeenSet = false;
99 bool m_resourceOwnerHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace APIGateway
104} // namespace Aws
GetDomainNamesRequest & WithLimit(int value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetDomainNamesRequest & WithResourceOwner(ResourceOwner value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APIGATEWAY_API GetDomainNamesRequest()=default
virtual const char * GetServiceRequestName() const override
GetDomainNamesRequest & WithPosition(PositionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String