AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetCustomDomainAssociationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace RedshiftServerless {
23namespace Model {
25 public:
26 AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult() = default;
28 AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult& operator=(
30
32
35 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
36 template <typename CustomDomainCertificateArnT = Aws::String>
37 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
38 m_customDomainCertificateArnHasBeenSet = true;
39 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
40 }
41 template <typename CustomDomainCertificateArnT = Aws::String>
43 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryTime() const { return m_customDomainCertificateExpiryTime; }
53 template <typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
54 void SetCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) {
55 m_customDomainCertificateExpiryTimeHasBeenSet = true;
56 m_customDomainCertificateExpiryTime = std::forward<CustomDomainCertificateExpiryTimeT>(value);
57 }
58 template <typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
59 GetCustomDomainAssociationResult& WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) {
60 SetCustomDomainCertificateExpiryTime(std::forward<CustomDomainCertificateExpiryTimeT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
70 template <typename CustomDomainNameT = Aws::String>
71 void SetCustomDomainName(CustomDomainNameT&& value) {
72 m_customDomainNameHasBeenSet = true;
73 m_customDomainName = std::forward<CustomDomainNameT>(value);
74 }
75 template <typename CustomDomainNameT = Aws::String>
77 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
87 template <typename WorkgroupNameT = Aws::String>
88 void SetWorkgroupName(WorkgroupNameT&& value) {
89 m_workgroupNameHasBeenSet = true;
90 m_workgroupName = std::forward<WorkgroupNameT>(value);
91 }
92 template <typename WorkgroupNameT = Aws::String>
94 SetWorkgroupName(std::forward<WorkgroupNameT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_customDomainCertificateArn;
115
116 Aws::Utils::DateTime m_customDomainCertificateExpiryTime{};
117
118 Aws::String m_customDomainName;
119
120 Aws::String m_workgroupName;
121
122 Aws::String m_requestId;
123 bool m_customDomainCertificateArnHasBeenSet = false;
124 bool m_customDomainCertificateExpiryTimeHasBeenSet = false;
125 bool m_customDomainNameHasBeenSet = false;
126 bool m_workgroupNameHasBeenSet = false;
127 bool m_requestIdHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace RedshiftServerless
132} // namespace Aws
AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult()=default
GetCustomDomainAssociationResult & WithRequestId(RequestIdT &&value)
AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT &&value)
GetCustomDomainAssociationResult & WithWorkgroupName(WorkgroupNameT &&value)
GetCustomDomainAssociationResult & WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT &&value)
GetCustomDomainAssociationResult & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCustomDomainAssociationResult & WithCustomDomainName(CustomDomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue