AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListHostedZonesRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/HostedZoneType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Route53
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_ROUTE53_API ListHostedZonesRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "ListHostedZones"; }
41
42 AWS_ROUTE53_API Aws::String SerializePayload() const override;
43
44 AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
58 inline const Aws::String& GetMarker() const { return m_marker; }
59 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
60 template<typename MarkerT = Aws::String>
61 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
62 template<typename MarkerT = Aws::String>
63 ListHostedZonesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
65
67
74 inline const Aws::String& GetMaxItems() const { return m_maxItems; }
75 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
76 template<typename MaxItemsT = Aws::String>
77 void SetMaxItems(MaxItemsT&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::forward<MaxItemsT>(value); }
78 template<typename MaxItemsT = Aws::String>
79 ListHostedZonesRequest& WithMaxItems(MaxItemsT&& value) { SetMaxItems(std::forward<MaxItemsT>(value)); return *this;}
81
83
88 inline const Aws::String& GetDelegationSetId() const { return m_delegationSetId; }
89 inline bool DelegationSetIdHasBeenSet() const { return m_delegationSetIdHasBeenSet; }
90 template<typename DelegationSetIdT = Aws::String>
91 void SetDelegationSetId(DelegationSetIdT&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = std::forward<DelegationSetIdT>(value); }
92 template<typename DelegationSetIdT = Aws::String>
93 ListHostedZonesRequest& WithDelegationSetId(DelegationSetIdT&& value) { SetDelegationSetId(std::forward<DelegationSetIdT>(value)); return *this;}
95
97
100 inline HostedZoneType GetHostedZoneType() const { return m_hostedZoneType; }
101 inline bool HostedZoneTypeHasBeenSet() const { return m_hostedZoneTypeHasBeenSet; }
102 inline void SetHostedZoneType(HostedZoneType value) { m_hostedZoneTypeHasBeenSet = true; m_hostedZoneType = value; }
105 private:
106
107 Aws::String m_marker;
108 bool m_markerHasBeenSet = false;
109
110 Aws::String m_maxItems;
111 bool m_maxItemsHasBeenSet = false;
112
113 Aws::String m_delegationSetId;
114 bool m_delegationSetIdHasBeenSet = false;
115
116 HostedZoneType m_hostedZoneType{HostedZoneType::NOT_SET};
117 bool m_hostedZoneTypeHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Route53
122} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ROUTE53_API Aws::String SerializePayload() const override
ListHostedZonesRequest & WithMaxItems(MaxItemsT &&value)
ListHostedZonesRequest & WithDelegationSetId(DelegationSetIdT &&value)
void SetDelegationSetId(DelegationSetIdT &&value)
ListHostedZonesRequest & WithHostedZoneType(HostedZoneType value)
AWS_ROUTE53_API ListHostedZonesRequest()=default
ListHostedZonesRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String