AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateCustomDomainAssociationResult.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace RedshiftServerless
25{
26namespace Model
27{
29 {
30 public:
31 AWS_REDSHIFTSERVERLESS_API CreateCustomDomainAssociationResult() = default;
34
35
37
40 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
41 template<typename CustomDomainCertificateArnT = Aws::String>
42 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value); }
43 template<typename CustomDomainCertificateArnT = Aws::String>
44 CreateCustomDomainAssociationResult& WithCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) { SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value)); return *this;}
46
48
51 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryTime() const { return m_customDomainCertificateExpiryTime; }
52 template<typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
53 void SetCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) { m_customDomainCertificateExpiryTimeHasBeenSet = true; m_customDomainCertificateExpiryTime = std::forward<CustomDomainCertificateExpiryTimeT>(value); }
54 template<typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
55 CreateCustomDomainAssociationResult& WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) { SetCustomDomainCertificateExpiryTime(std::forward<CustomDomainCertificateExpiryTimeT>(value)); return *this;}
57
59
62 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
63 template<typename CustomDomainNameT = Aws::String>
64 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
65 template<typename CustomDomainNameT = Aws::String>
66 CreateCustomDomainAssociationResult& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
74 template<typename WorkgroupNameT = Aws::String>
75 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
76 template<typename WorkgroupNameT = Aws::String>
77 CreateCustomDomainAssociationResult& WithWorkgroupName(WorkgroupNameT&& value) { SetWorkgroupName(std::forward<WorkgroupNameT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 CreateCustomDomainAssociationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_customDomainCertificateArn;
91 bool m_customDomainCertificateArnHasBeenSet = false;
92
93 Aws::Utils::DateTime m_customDomainCertificateExpiryTime{};
94 bool m_customDomainCertificateExpiryTimeHasBeenSet = false;
95
96 Aws::String m_customDomainName;
97 bool m_customDomainNameHasBeenSet = false;
98
99 Aws::String m_workgroupName;
100 bool m_workgroupNameHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace RedshiftServerless
108} // namespace Aws
CreateCustomDomainAssociationResult & WithCustomDomainName(CustomDomainNameT &&value)
AWS_REDSHIFTSERVERLESS_API CreateCustomDomainAssociationResult()=default
AWS_REDSHIFTSERVERLESS_API CreateCustomDomainAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomDomainAssociationResult & WithWorkgroupName(WorkgroupNameT &&value)
CreateCustomDomainAssociationResult & WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT &&value)
CreateCustomDomainAssociationResult & WithRequestId(RequestIdT &&value)
AWS_REDSHIFTSERVERLESS_API CreateCustomDomainAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomDomainAssociationResult & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue