AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetupRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/model/CertificateProvider.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Lightsail
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LIGHTSAIL_API SetupRequest();
39 AWS_LIGHTSAIL_API SetupRequest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LIGHTSAIL_API SetupRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetInstanceName() const{ return m_instanceName; }
49 inline bool InstanceNameHasBeenSet() const { return m_instanceNameHasBeenSet; }
50 inline void SetInstanceName(const Aws::String& value) { m_instanceNameHasBeenSet = true; m_instanceName = value; }
51 inline void SetInstanceName(Aws::String&& value) { m_instanceNameHasBeenSet = true; m_instanceName = std::move(value); }
52 inline void SetInstanceName(const char* value) { m_instanceNameHasBeenSet = true; m_instanceName.assign(value); }
53 inline SetupRequest& WithInstanceName(const Aws::String& value) { SetInstanceName(value); return *this;}
54 inline SetupRequest& WithInstanceName(Aws::String&& value) { SetInstanceName(std::move(value)); return *this;}
55 inline SetupRequest& WithInstanceName(const char* value) { SetInstanceName(value); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetDomainNames() const{ return m_domainNames; }
64 inline bool DomainNamesHasBeenSet() const { return m_domainNamesHasBeenSet; }
65 inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
66 inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::move(value); }
67 inline SetupRequest& WithDomainNames(const Aws::Vector<Aws::String>& value) { SetDomainNames(value); return *this;}
68 inline SetupRequest& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(std::move(value)); return *this;}
69 inline SetupRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
70 inline SetupRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(std::move(value)); return *this; }
71 inline SetupRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
73
75
78 inline const CertificateProvider& GetCertificateProvider() const{ return m_certificateProvider; }
79 inline bool CertificateProviderHasBeenSet() const { return m_certificateProviderHasBeenSet; }
80 inline void SetCertificateProvider(const CertificateProvider& value) { m_certificateProviderHasBeenSet = true; m_certificateProvider = value; }
81 inline void SetCertificateProvider(CertificateProvider&& value) { m_certificateProviderHasBeenSet = true; m_certificateProvider = std::move(value); }
83 inline SetupRequest& WithCertificateProvider(CertificateProvider&& value) { SetCertificateProvider(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_instanceName;
88 bool m_instanceNameHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_domainNames;
91 bool m_domainNamesHasBeenSet = false;
92
93 CertificateProvider m_certificateProvider;
94 bool m_certificateProviderHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Lightsail
99} // namespace Aws
AWS_LIGHTSAIL_API SetupRequest(Aws::Utils::Json::JsonView jsonValue)
SetupRequest & WithCertificateProvider(const CertificateProvider &value)
void SetDomainNames(Aws::Vector< Aws::String > &&value)
SetupRequest & WithInstanceName(Aws::String &&value)
void SetDomainNames(const Aws::Vector< Aws::String > &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
SetupRequest & WithInstanceName(const Aws::String &value)
void SetInstanceName(const char *value)
SetupRequest & AddDomainNames(const Aws::String &value)
AWS_LIGHTSAIL_API SetupRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SetupRequest & AddDomainNames(Aws::String &&value)
SetupRequest & AddDomainNames(const char *value)
const Aws::String & GetInstanceName() const
SetupRequest & WithCertificateProvider(CertificateProvider &&value)
SetupRequest & WithDomainNames(const Aws::Vector< Aws::String > &value)
void SetCertificateProvider(CertificateProvider &&value)
const Aws::Vector< Aws::String > & GetDomainNames() const
SetupRequest & WithInstanceName(const char *value)
const CertificateProvider & GetCertificateProvider() const
void SetInstanceName(Aws::String &&value)
SetupRequest & WithDomainNames(Aws::Vector< Aws::String > &&value)
void SetCertificateProvider(const CertificateProvider &value)
void SetInstanceName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue