AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateCustomDomainAssociationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace RedshiftServerless {
15namespace Model {
16
20 public:
21 AWS_REDSHIFTSERVERLESS_API CreateCustomDomainAssociationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateCustomDomainAssociation"; }
28
29 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
30
31 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
38 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
39 template <typename CustomDomainCertificateArnT = Aws::String>
40 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
41 m_customDomainCertificateArnHasBeenSet = true;
42 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
43 }
44 template <typename CustomDomainCertificateArnT = Aws::String>
46 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
56 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
57 template <typename CustomDomainNameT = Aws::String>
58 void SetCustomDomainName(CustomDomainNameT&& value) {
59 m_customDomainNameHasBeenSet = true;
60 m_customDomainName = std::forward<CustomDomainNameT>(value);
61 }
62 template <typename CustomDomainNameT = Aws::String>
64 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
74 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
75 template <typename WorkgroupNameT = Aws::String>
76 void SetWorkgroupName(WorkgroupNameT&& value) {
77 m_workgroupNameHasBeenSet = true;
78 m_workgroupName = std::forward<WorkgroupNameT>(value);
79 }
80 template <typename WorkgroupNameT = Aws::String>
82 SetWorkgroupName(std::forward<WorkgroupNameT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_customDomainCertificateArn;
88
89 Aws::String m_customDomainName;
90
91 Aws::String m_workgroupName;
92 bool m_customDomainCertificateArnHasBeenSet = false;
93 bool m_customDomainNameHasBeenSet = false;
94 bool m_workgroupNameHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace RedshiftServerless
99} // namespace Aws
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REDSHIFTSERVERLESS_API CreateCustomDomainAssociationRequest()=default
CreateCustomDomainAssociationRequest & WithWorkgroupName(WorkgroupNameT &&value)
CreateCustomDomainAssociationRequest & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
CreateCustomDomainAssociationRequest & WithCustomDomainName(CustomDomainNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String