AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDomainEntryRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/DomainEntry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Lightsail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LIGHTSAIL_API CreateDomainEntryRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateDomainEntry"; }
32
33 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 template<typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
47 template<typename DomainNameT = Aws::String>
48 CreateDomainEntryRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
50
52
56 inline const DomainEntry& GetDomainEntry() const { return m_domainEntry; }
57 inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; }
58 template<typename DomainEntryT = DomainEntry>
59 void SetDomainEntry(DomainEntryT&& value) { m_domainEntryHasBeenSet = true; m_domainEntry = std::forward<DomainEntryT>(value); }
60 template<typename DomainEntryT = DomainEntry>
61 CreateDomainEntryRequest& WithDomainEntry(DomainEntryT&& value) { SetDomainEntry(std::forward<DomainEntryT>(value)); return *this;}
63 private:
64
65 Aws::String m_domainName;
66 bool m_domainNameHasBeenSet = false;
67
68 DomainEntry m_domainEntry;
69 bool m_domainEntryHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Lightsail
74} // 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:32
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String