AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetupInstanceHttpsRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/CertificateProvider.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Lightsail
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LIGHTSAIL_API SetupInstanceHttpsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "SetupInstanceHttps"; }
33
34 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetInstanceName() const{ return m_instanceName; }
44 inline bool InstanceNameHasBeenSet() const { return m_instanceNameHasBeenSet; }
45 inline void SetInstanceName(const Aws::String& value) { m_instanceNameHasBeenSet = true; m_instanceName = value; }
46 inline void SetInstanceName(Aws::String&& value) { m_instanceNameHasBeenSet = true; m_instanceName = std::move(value); }
47 inline void SetInstanceName(const char* value) { m_instanceNameHasBeenSet = true; m_instanceName.assign(value); }
48 inline SetupInstanceHttpsRequest& WithInstanceName(const Aws::String& value) { SetInstanceName(value); return *this;}
49 inline SetupInstanceHttpsRequest& WithInstanceName(Aws::String&& value) { SetInstanceName(std::move(value)); return *this;}
50 inline SetupInstanceHttpsRequest& WithInstanceName(const char* value) { SetInstanceName(value); return *this;}
52
54
58 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
59 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
60 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
61 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
62 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
63 inline SetupInstanceHttpsRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
64 inline SetupInstanceHttpsRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
65 inline SetupInstanceHttpsRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
67
69
73 inline const Aws::Vector<Aws::String>& GetDomainNames() const{ return m_domainNames; }
74 inline bool DomainNamesHasBeenSet() const { return m_domainNamesHasBeenSet; }
75 inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
76 inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::move(value); }
78 inline SetupInstanceHttpsRequest& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(std::move(value)); return *this;}
79 inline SetupInstanceHttpsRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
80 inline SetupInstanceHttpsRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(std::move(value)); return *this; }
81 inline SetupInstanceHttpsRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
83
85
88 inline const CertificateProvider& GetCertificateProvider() const{ return m_certificateProvider; }
89 inline bool CertificateProviderHasBeenSet() const { return m_certificateProviderHasBeenSet; }
90 inline void SetCertificateProvider(const CertificateProvider& value) { m_certificateProviderHasBeenSet = true; m_certificateProvider = value; }
91 inline void SetCertificateProvider(CertificateProvider&& value) { m_certificateProviderHasBeenSet = true; m_certificateProvider = std::move(value); }
95 private:
96
97 Aws::String m_instanceName;
98 bool m_instanceNameHasBeenSet = false;
99
100 Aws::String m_emailAddress;
101 bool m_emailAddressHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_domainNames;
104 bool m_domainNamesHasBeenSet = false;
105
106 CertificateProvider m_certificateProvider;
107 bool m_certificateProviderHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Lightsail
112} // namespace Aws
void SetCertificateProvider(const CertificateProvider &value)
void SetDomainNames(Aws::Vector< Aws::String > &&value)
SetupInstanceHttpsRequest & WithInstanceName(const Aws::String &value)
SetupInstanceHttpsRequest & WithEmailAddress(Aws::String &&value)
SetupInstanceHttpsRequest & WithInstanceName(Aws::String &&value)
SetupInstanceHttpsRequest & WithEmailAddress(const Aws::String &value)
SetupInstanceHttpsRequest & WithDomainNames(Aws::Vector< Aws::String > &&value)
SetupInstanceHttpsRequest & WithDomainNames(const Aws::Vector< Aws::String > &value)
SetupInstanceHttpsRequest & AddDomainNames(Aws::String &&value)
SetupInstanceHttpsRequest & WithEmailAddress(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetupInstanceHttpsRequest & AddDomainNames(const char *value)
virtual const char * GetServiceRequestName() const override
SetupInstanceHttpsRequest & WithCertificateProvider(CertificateProvider &&value)
void SetDomainNames(const Aws::Vector< Aws::String > &value)
SetupInstanceHttpsRequest & AddDomainNames(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
const CertificateProvider & GetCertificateProvider() const
SetupInstanceHttpsRequest & WithInstanceName(const char *value)
const Aws::Vector< Aws::String > & GetDomainNames() const
SetupInstanceHttpsRequest & WithCertificateProvider(const CertificateProvider &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector