AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCustomDomainAssociationRequest.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RedshiftServerless
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REDSHIFTSERVERLESS_API UpdateCustomDomainAssociationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateCustomDomainAssociation"; }
31
32 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
33
34 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
43 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
44 template<typename CustomDomainCertificateArnT = Aws::String>
45 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value); }
46 template<typename CustomDomainCertificateArnT = Aws::String>
47 UpdateCustomDomainAssociationRequest& WithCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) { SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
55 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
56 template<typename CustomDomainNameT = Aws::String>
57 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
58 template<typename CustomDomainNameT = Aws::String>
59 UpdateCustomDomainAssociationRequest& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
67 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
68 template<typename WorkgroupNameT = Aws::String>
69 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
70 template<typename WorkgroupNameT = Aws::String>
71 UpdateCustomDomainAssociationRequest& WithWorkgroupName(WorkgroupNameT&& value) { SetWorkgroupName(std::forward<WorkgroupNameT>(value)); return *this;}
73 private:
74
75 Aws::String m_customDomainCertificateArn;
76 bool m_customDomainCertificateArnHasBeenSet = false;
77
78 Aws::String m_customDomainName;
79 bool m_customDomainNameHasBeenSet = false;
80
81 Aws::String m_workgroupName;
82 bool m_workgroupNameHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace RedshiftServerless
87} // 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