AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateCustomDomainAssociationRequest.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 UpdateCustomDomainAssociationRequest() = 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 "UpdateCustomDomainAssociation"; }
28
29 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
30
31 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
39 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
40 template <typename CustomDomainCertificateArnT = Aws::String>
41 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
42 m_customDomainCertificateArnHasBeenSet = true;
43 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
44 }
45 template <typename CustomDomainCertificateArnT = Aws::String>
47 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
57 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
58 template <typename CustomDomainNameT = Aws::String>
59 void SetCustomDomainName(CustomDomainNameT&& value) {
60 m_customDomainNameHasBeenSet = true;
61 m_customDomainName = std::forward<CustomDomainNameT>(value);
62 }
63 template <typename CustomDomainNameT = Aws::String>
65 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
75 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
76 template <typename WorkgroupNameT = Aws::String>
77 void SetWorkgroupName(WorkgroupNameT&& value) {
78 m_workgroupNameHasBeenSet = true;
79 m_workgroupName = std::forward<WorkgroupNameT>(value);
80 }
81 template <typename WorkgroupNameT = Aws::String>
83 SetWorkgroupName(std::forward<WorkgroupNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_customDomainCertificateArn;
89
90 Aws::String m_customDomainName;
91
92 Aws::String m_workgroupName;
93 bool m_customDomainCertificateArnHasBeenSet = false;
94 bool m_customDomainNameHasBeenSet = false;
95 bool m_workgroupNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace RedshiftServerless
100} // namespace Aws
AWS_REDSHIFTSERVERLESS_API UpdateCustomDomainAssociationRequest()=default
UpdateCustomDomainAssociationRequest & WithCustomDomainName(CustomDomainNameT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
UpdateCustomDomainAssociationRequest & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
UpdateCustomDomainAssociationRequest & WithWorkgroupName(WorkgroupNameT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String