AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateDomainEntryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Lightsail
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDomainName() const{ return m_domainName; }
42 
46  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 
51  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
52 
56  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
57 
61  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
62 
66  inline UpdateDomainEntryRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
67 
71  inline UpdateDomainEntryRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
72 
76  inline UpdateDomainEntryRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
77 
78 
83  inline const DomainEntry& GetDomainEntry() const{ return m_domainEntry; }
84 
89  inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; }
90 
95  inline void SetDomainEntry(const DomainEntry& value) { m_domainEntryHasBeenSet = true; m_domainEntry = value; }
96 
101  inline void SetDomainEntry(DomainEntry&& value) { m_domainEntryHasBeenSet = true; m_domainEntry = std::move(value); }
102 
107  inline UpdateDomainEntryRequest& WithDomainEntry(const DomainEntry& value) { SetDomainEntry(value); return *this;}
108 
113  inline UpdateDomainEntryRequest& WithDomainEntry(DomainEntry&& value) { SetDomainEntry(std::move(value)); return *this;}
114 
115  private:
116 
117  Aws::String m_domainName;
118  bool m_domainNameHasBeenSet;
119 
120  DomainEntry m_domainEntry;
121  bool m_domainEntryHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace Lightsail
126 } // namespace Aws
Aws::Lightsail::Model::UpdateDomainEntryRequest
Definition: UpdateDomainEntryRequest.h:23
Aws::Lightsail::Model::UpdateDomainEntryRequest::SetDomainEntry
void SetDomainEntry(const DomainEntry &value)
Definition: UpdateDomainEntryRequest.h:95
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::UpdateDomainEntryRequest::SetDomainEntry
void SetDomainEntry(DomainEntry &&value)
Definition: UpdateDomainEntryRequest.h:101
Aws::Lightsail::Model::UpdateDomainEntryRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: UpdateDomainEntryRequest.h:56
Aws::Lightsail::Model::UpdateDomainEntryRequest::SetDomainName
void SetDomainName(const char *value)
Definition: UpdateDomainEntryRequest.h:61
Aws::Lightsail::Model::UpdateDomainEntryRequest::SerializePayload
Aws::String SerializePayload() const override
LightsailRequest.h
Aws::Lightsail::Model::UpdateDomainEntryRequest::GetDomainEntry
const DomainEntry & GetDomainEntry() const
Definition: UpdateDomainEntryRequest.h:83
Aws::Lightsail::Model::UpdateDomainEntryRequest::UpdateDomainEntryRequest
UpdateDomainEntryRequest()
Aws::Lightsail::Model::UpdateDomainEntryRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: UpdateDomainEntryRequest.h:46
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::UpdateDomainEntryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDomainEntryRequest.h:31
AWSString.h
Aws::Lightsail::Model::UpdateDomainEntryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::UpdateDomainEntryRequest::DomainEntryHasBeenSet
bool DomainEntryHasBeenSet() const
Definition: UpdateDomainEntryRequest.h:89
Lightsail_EXPORTS.h
Aws::Lightsail::Model::UpdateDomainEntryRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: UpdateDomainEntryRequest.h:41
Aws::Lightsail::Model::UpdateDomainEntryRequest::WithDomainName
UpdateDomainEntryRequest & WithDomainName(const Aws::String &value)
Definition: UpdateDomainEntryRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::UpdateDomainEntryRequest::WithDomainEntry
UpdateDomainEntryRequest & WithDomainEntry(const DomainEntry &value)
Definition: UpdateDomainEntryRequest.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DomainEntry.h
Aws::Lightsail::Model::UpdateDomainEntryRequest::WithDomainName
UpdateDomainEntryRequest & WithDomainName(Aws::String &&value)
Definition: UpdateDomainEntryRequest.h:71
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::DomainEntry
Definition: DomainEntry.h:32
Aws::Lightsail::Model::UpdateDomainEntryRequest::WithDomainName
UpdateDomainEntryRequest & WithDomainName(const char *value)
Definition: UpdateDomainEntryRequest.h:76
Aws::Lightsail::Model::UpdateDomainEntryRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: UpdateDomainEntryRequest.h:51
Aws::Lightsail::Model::UpdateDomainEntryRequest::WithDomainEntry
UpdateDomainEntryRequest & WithDomainEntry(DomainEntry &&value)
Definition: UpdateDomainEntryRequest.h:113