AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateCustomDomainAssociationRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REDSHIFT_API CreateCustomDomainAssociationRequest() = 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 "CreateCustomDomainAssociation"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
44 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
45 template<typename CustomDomainNameT = Aws::String>
46 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
47 template<typename CustomDomainNameT = Aws::String>
48 CreateCustomDomainAssociationRequest& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
50
52
56 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
57 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
58 template<typename CustomDomainCertificateArnT = Aws::String>
59 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value); }
60 template<typename CustomDomainCertificateArnT = Aws::String>
61 CreateCustomDomainAssociationRequest& WithCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) { SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
69 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
70 template<typename ClusterIdentifierT = Aws::String>
71 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
72 template<typename ClusterIdentifierT = Aws::String>
73 CreateCustomDomainAssociationRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
75 private:
76
77 Aws::String m_customDomainName;
78 bool m_customDomainNameHasBeenSet = false;
79
80 Aws::String m_customDomainCertificateArn;
81 bool m_customDomainCertificateArnHasBeenSet = false;
82
83 Aws::String m_clusterIdentifier;
84 bool m_clusterIdentifierHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Redshift
89} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateCustomDomainAssociationRequest & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
CreateCustomDomainAssociationRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateCustomDomainAssociationRequest & WithCustomDomainName(CustomDomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String