AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CheckSubdomainAvailabilityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Lightsail {
15namespace Model {
16
20 public:
21 AWS_LIGHTSAIL_API CheckSubdomainAvailabilityRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CheckSubdomainAvailability"; }
28
29 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
30
32
34
44 inline const Aws::String& GetSubdomainName() const { return m_subdomainName; }
45 inline bool SubdomainNameHasBeenSet() const { return m_subdomainNameHasBeenSet; }
46 template <typename SubdomainNameT = Aws::String>
47 void SetSubdomainName(SubdomainNameT&& value) {
48 m_subdomainNameHasBeenSet = true;
49 m_subdomainName = std::forward<SubdomainNameT>(value);
50 }
51 template <typename SubdomainNameT = Aws::String>
53 SetSubdomainName(std::forward<SubdomainNameT>(value));
54 return *this;
55 }
57
59
67 inline bool GetReserve() const { return m_reserve; }
68 inline bool ReserveHasBeenSet() const { return m_reserveHasBeenSet; }
69 inline void SetReserve(bool value) {
70 m_reserveHasBeenSet = true;
71 m_reserve = value;
72 }
74 SetReserve(value);
75 return *this;
76 }
78 private:
79 Aws::String m_subdomainName;
80
81 bool m_reserve{false};
82 bool m_subdomainNameHasBeenSet = false;
83 bool m_reserveHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Lightsail
88} // namespace Aws
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CheckSubdomainAvailabilityRequest & WithSubdomainName(SubdomainNameT &&value)
AWS_LIGHTSAIL_API CheckSubdomainAvailabilityRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String