AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainNameConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppSync
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPSYNC_API DomainNameConfig();
35 AWS_APPSYNC_API DomainNameConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
48 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 inline DomainNameConfig& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
50 inline DomainNameConfig& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
51 inline DomainNameConfig& WithDomainName(const char* value) { SetDomainName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline DomainNameConfig& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline DomainNameConfig& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline DomainNameConfig& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
74 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
75 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
76 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
77 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
78 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
79 inline DomainNameConfig& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
80 inline DomainNameConfig& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
81 inline DomainNameConfig& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
83
85
88 inline const Aws::String& GetAppsyncDomainName() const{ return m_appsyncDomainName; }
89 inline bool AppsyncDomainNameHasBeenSet() const { return m_appsyncDomainNameHasBeenSet; }
90 inline void SetAppsyncDomainName(const Aws::String& value) { m_appsyncDomainNameHasBeenSet = true; m_appsyncDomainName = value; }
91 inline void SetAppsyncDomainName(Aws::String&& value) { m_appsyncDomainNameHasBeenSet = true; m_appsyncDomainName = std::move(value); }
92 inline void SetAppsyncDomainName(const char* value) { m_appsyncDomainNameHasBeenSet = true; m_appsyncDomainName.assign(value); }
93 inline DomainNameConfig& WithAppsyncDomainName(const Aws::String& value) { SetAppsyncDomainName(value); return *this;}
94 inline DomainNameConfig& WithAppsyncDomainName(Aws::String&& value) { SetAppsyncDomainName(std::move(value)); return *this;}
95 inline DomainNameConfig& WithAppsyncDomainName(const char* value) { SetAppsyncDomainName(value); return *this;}
97
99
102 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
103 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
104 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
105 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
106 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
107 inline DomainNameConfig& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
108 inline DomainNameConfig& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
109 inline DomainNameConfig& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
111 private:
112
113 Aws::String m_domainName;
114 bool m_domainNameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
119 Aws::String m_certificateArn;
120 bool m_certificateArnHasBeenSet = false;
121
122 Aws::String m_appsyncDomainName;
123 bool m_appsyncDomainNameHasBeenSet = false;
124
125 Aws::String m_hostedZoneId;
126 bool m_hostedZoneIdHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace AppSync
131} // namespace Aws
DomainNameConfig & WithDomainName(const Aws::String &value)
void SetAppsyncDomainName(const char *value)
DomainNameConfig & WithHostedZoneId(Aws::String &&value)
void SetDescription(const Aws::String &value)
DomainNameConfig & WithDomainName(Aws::String &&value)
void SetCertificateArn(const Aws::String &value)
const Aws::String & GetCertificateArn() const
DomainNameConfig & WithCertificateArn(Aws::String &&value)
void SetCertificateArn(Aws::String &&value)
void SetDomainName(Aws::String &&value)
void SetHostedZoneId(const Aws::String &value)
DomainNameConfig & WithDomainName(const char *value)
DomainNameConfig & WithHostedZoneId(const Aws::String &value)
DomainNameConfig & WithAppsyncDomainName(const char *value)
const Aws::String & GetHostedZoneId() const
DomainNameConfig & WithAppsyncDomainName(const Aws::String &value)
DomainNameConfig & WithDescription(Aws::String &&value)
DomainNameConfig & WithHostedZoneId(const char *value)
AWS_APPSYNC_API DomainNameConfig(Aws::Utils::Json::JsonView jsonValue)
DomainNameConfig & WithCertificateArn(const Aws::String &value)
void SetHostedZoneId(Aws::String &&value)
void SetCertificateArn(const char *value)
const Aws::String & GetAppsyncDomainName() const
void SetDomainName(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetAppsyncDomainName(Aws::String &&value)
const Aws::String & GetDescription() const
DomainNameConfig & WithAppsyncDomainName(Aws::String &&value)
DomainNameConfig & WithDescription(const Aws::String &value)
void SetAppsyncDomainName(const Aws::String &value)
DomainNameConfig & WithDescription(const char *value)
AWS_APPSYNC_API DomainNameConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainNameConfig & WithCertificateArn(const char *value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDomainName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue