AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
45 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
46 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
47 inline UpdateDomainEntryRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline UpdateDomainEntryRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline UpdateDomainEntryRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
51
53
57 inline const DomainEntry& GetDomainEntry() const{ return m_domainEntry; }
58 inline bool DomainEntryHasBeenSet() const { return m_domainEntryHasBeenSet; }
59 inline void SetDomainEntry(const DomainEntry& value) { m_domainEntryHasBeenSet = true; m_domainEntry = value; }
60 inline void SetDomainEntry(DomainEntry&& value) { m_domainEntryHasBeenSet = true; m_domainEntry = std::move(value); }
61 inline UpdateDomainEntryRequest& WithDomainEntry(const DomainEntry& value) { SetDomainEntry(value); return *this;}
62 inline UpdateDomainEntryRequest& WithDomainEntry(DomainEntry&& value) { SetDomainEntry(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_domainName;
67 bool m_domainNameHasBeenSet = false;
68
69 DomainEntry m_domainEntry;
70 bool m_domainEntryHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Lightsail
75} // namespace Aws
Definition DomainEntry.h:32
void SetDomainEntry(const DomainEntry &value)
bool DomainEntryHasBeenSet() const
UpdateDomainEntryRequest & WithDomainEntry(const DomainEntry &value)
virtual const char * GetServiceRequestName() const override
void SetDomainName(Aws::String &&value)
void SetDomainName(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDomainEntry(DomainEntry &&value)
UpdateDomainEntryRequest & WithDomainEntry(DomainEntry &&value)
UpdateDomainEntryRequest & WithDomainName(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
UpdateDomainEntryRequest & WithDomainName(Aws::String &&value)
UpdateDomainEntryRequest & WithDomainName(const char *value)
void SetDomainName(const Aws::String &value)
const Aws::String & GetDomainName() const
const DomainEntry & GetDomainEntry() const
bool DomainNameHasBeenSet() const
AWS_LIGHTSAIL_API UpdateDomainEntryRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String