AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateDomainEntryRequest.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 CreateDomainEntryRequest() = 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 "CreateDomainEntry"; }
29
30 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetDomainName() const { return m_domainName; }
40 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
41 template <typename DomainNameT = Aws::String>
42 void SetDomainName(DomainNameT&& value) {
43 m_domainNameHasBeenSet = true;
44 m_domainName = std::forward<DomainNameT>(value);
45 }
46 template <typename DomainNameT = Aws::String>
48 SetDomainName(std::forward<DomainNameT>(value));
49 return *this;
50 }
52
54
58 inline const DomainEntry& GetDomainEntry() const { return m_domainEntry; }
59 inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; }
60 template <typename DomainEntryT = DomainEntry>
61 void SetDomainEntry(DomainEntryT&& value) {
62 m_domainEntryHasBeenSet = true;
63 m_domainEntry = std::forward<DomainEntryT>(value);
64 }
65 template <typename DomainEntryT = DomainEntry>
67 SetDomainEntry(std::forward<DomainEntryT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_domainName;
73
74 DomainEntry m_domainEntry;
75 bool m_domainNameHasBeenSet = false;
76 bool m_domainEntryHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Lightsail
81} // namespace Aws
bool DomainNameHasBeenSet() const
const DomainEntry & GetDomainEntry() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDomainName() const
CreateDomainEntryRequest & WithDomainName(DomainNameT &&value)
AWS_LIGHTSAIL_API CreateDomainEntryRequest()=default
void SetDomainEntry(DomainEntryT &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDomainName(DomainNameT &&value)
CreateDomainEntryRequest & WithDomainEntry(DomainEntryT &&value)
bool DomainEntryHasBeenSet() const
Definition DomainEntry.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String