AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
GetCustomDomainAssociationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace RedshiftServerless {
24namespace Model {
26 public:
27 AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult() = default;
29 AWS_REDSHIFTSERVERLESS_API GetCustomDomainAssociationResult& operator=(
31
33
36 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
37 template <typename CustomDomainCertificateArnT = Aws::String>
38 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
39 m_customDomainCertificateArnHasBeenSet = true;
40 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
41 }
42 template <typename CustomDomainCertificateArnT = Aws::String>
44 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryTime() const { return m_customDomainCertificateExpiryTime; }
54 template <typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
55 void SetCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) {
56 m_customDomainCertificateExpiryTimeHasBeenSet = true;
57 m_customDomainCertificateExpiryTime = std::forward<CustomDomainCertificateExpiryTimeT>(value);
58 }
59 template <typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
60 GetCustomDomainAssociationResult& WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) {
61 SetCustomDomainCertificateExpiryTime(std::forward<CustomDomainCertificateExpiryTimeT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
71 template <typename CustomDomainNameT = Aws::String>
72 void SetCustomDomainName(CustomDomainNameT&& value) {
73 m_customDomainNameHasBeenSet = true;
74 m_customDomainName = std::forward<CustomDomainNameT>(value);
75 }
76 template <typename CustomDomainNameT = Aws::String>
78 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
88 template <typename WorkgroupNameT = Aws::String>
89 void SetWorkgroupName(WorkgroupNameT&& value) {
90 m_workgroupNameHasBeenSet = true;
91 m_workgroupName = std::forward<WorkgroupNameT>(value);
92 }
93 template <typename WorkgroupNameT = Aws::String>
95 SetWorkgroupName(std::forward<WorkgroupNameT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_customDomainCertificateArn;
118
119 Aws::Utils::DateTime m_customDomainCertificateExpiryTime{};
120
121 Aws::String m_customDomainName;
122
123 Aws::String m_workgroupName;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_customDomainCertificateArnHasBeenSet = false;
128 bool m_customDomainCertificateExpiryTimeHasBeenSet = false;
129 bool m_customDomainNameHasBeenSet = false;
130 bool m_workgroupNameHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace RedshiftServerless
136} // 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