AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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