AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainEntryRequest.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 UpdateDomainEntryRequest() = 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 "UpdateDomainEntry"; }
32
33 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 template<typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
46 template<typename DomainNameT = Aws::String>
47 UpdateDomainEntryRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
49
51
55 inline const DomainEntry& GetDomainEntry() const { return m_domainEntry; }
56 inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; }
57 template<typename DomainEntryT = DomainEntry>
58 void SetDomainEntry(DomainEntryT&& value) { m_domainEntryHasBeenSet = true; m_domainEntry = std::forward<DomainEntryT>(value); }
59 template<typename DomainEntryT = DomainEntry>
60 UpdateDomainEntryRequest& WithDomainEntry(DomainEntryT&& value) { SetDomainEntry(std::forward<DomainEntryT>(value)); return *this;}
62 private:
63
64 Aws::String m_domainName;
65 bool m_domainNameHasBeenSet = false;
66
67 DomainEntry m_domainEntry;
68 bool m_domainEntryHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Lightsail
73} // namespace Aws
Definition DomainEntry.h:32
bool DomainEntryHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDomainEntry(DomainEntryT &&value)
UpdateDomainEntryRequest & WithDomainName(DomainNameT &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LIGHTSAIL_API UpdateDomainEntryRequest()=default
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
UpdateDomainEntryRequest & WithDomainEntry(DomainEntryT &&value)
const Aws::String & GetDomainName() const
void SetDomainName(DomainNameT &&value)
const DomainEntry & GetDomainEntry() const
bool DomainNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String