AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDomainNamesRequest.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 <aws/apigateway/model/ResourceOwner.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace APIGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAY_API GetDomainNamesRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "GetDomainNames"; }
40
41 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
42
43 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::String& GetPosition() const { return m_position; }
51 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
52 template<typename PositionT = Aws::String>
53 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
54 template<typename PositionT = Aws::String>
55 GetDomainNamesRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
57
59
63 inline int GetLimit() const { return m_limit; }
64 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
65 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
66 inline GetDomainNamesRequest& WithLimit(int value) { SetLimit(value); return *this;}
68
70
73 inline ResourceOwner GetResourceOwner() const { return m_resourceOwner; }
74 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
75 inline void SetResourceOwner(ResourceOwner value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
78 private:
79
80 Aws::String m_position;
81 bool m_positionHasBeenSet = false;
82
83 int m_limit{0};
84 bool m_limitHasBeenSet = false;
85
87 bool m_resourceOwnerHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace APIGateway
92} // 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