AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDomainEntryRequest.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 DeleteDomainEntryRequest();
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 "DeleteDomainEntry"; }
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 DeleteDomainEntryRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline DeleteDomainEntryRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline DeleteDomainEntryRequest& 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 DeleteDomainEntryRequest& WithDomainEntry(const DomainEntry& value) { SetDomainEntry(value); return *this;}
62 inline DeleteDomainEntryRequest& 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
void SetDomainName(Aws::String &&value)
bool DomainEntryHasBeenSet() const
DeleteDomainEntryRequest & WithDomainName(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
bool DomainNameHasBeenSet() const
const DomainEntry & GetDomainEntry() const
DeleteDomainEntryRequest & WithDomainName(const char *value)
AWS_LIGHTSAIL_API DeleteDomainEntryRequest()
DeleteDomainEntryRequest & WithDomainName(Aws::String &&value)
const Aws::String & GetDomainName() const
DeleteDomainEntryRequest & WithDomainEntry(DomainEntry &&value)
void SetDomainName(const char *value)
void SetDomainEntry(const DomainEntry &value)
virtual const char * GetServiceRequestName() const override
DeleteDomainEntryRequest & WithDomainEntry(const DomainEntry &value)
void SetDomainName(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDomainEntry(DomainEntry &&value)
Definition DomainEntry.h:32
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String