AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DeleteDomainEntryRequest.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#include <aws/lightsail/model/DomainEntry.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Lightsail {
16namespace Model {
17
21 public:
22 AWS_LIGHTSAIL_API DeleteDomainEntryRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteDomainEntry"; }
29
30 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDomainName() const { return m_domainName; }
39 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
40 template <typename DomainNameT = Aws::String>
41 void SetDomainName(DomainNameT&& value) {
42 m_domainNameHasBeenSet = true;
43 m_domainName = std::forward<DomainNameT>(value);
44 }
45 template <typename DomainNameT = Aws::String>
47 SetDomainName(std::forward<DomainNameT>(value));
48 return *this;
49 }
51
53
57 inline const DomainEntry& GetDomainEntry() const { return m_domainEntry; }
58 inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; }
59 template <typename DomainEntryT = DomainEntry>
60 void SetDomainEntry(DomainEntryT&& value) {
61 m_domainEntryHasBeenSet = true;
62 m_domainEntry = std::forward<DomainEntryT>(value);
63 }
64 template <typename DomainEntryT = DomainEntry>
66 SetDomainEntry(std::forward<DomainEntryT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_domainName;
72 bool m_domainNameHasBeenSet = false;
73
74 DomainEntry m_domainEntry;
75 bool m_domainEntryHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Lightsail
80} // namespace Aws
bool DomainEntryHasBeenSet() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetDomainName(DomainNameT &&value)
AWS_LIGHTSAIL_API DeleteDomainEntryRequest()=default
bool DomainNameHasBeenSet() const
const DomainEntry & GetDomainEntry() const
DeleteDomainEntryRequest & WithDomainName(DomainNameT &&value)
DeleteDomainEntryRequest & WithDomainEntry(DomainEntryT &&value)
const Aws::String & GetDomainName() const
void SetDomainEntry(DomainEntryT &&value)
virtual const char * GetServiceRequestName() const override
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Definition DomainEntry.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String