AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ModifyCustomDomainAssociationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
20 public:
21 AWS_REDSHIFT_API ModifyCustomDomainAssociationRequest() = 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 "ModifyCustomDomainAssociation"; }
28
29 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
40 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
41 template <typename CustomDomainNameT = Aws::String>
42 void SetCustomDomainName(CustomDomainNameT&& value) {
43 m_customDomainNameHasBeenSet = true;
44 m_customDomainName = std::forward<CustomDomainNameT>(value);
45 }
46 template <typename CustomDomainNameT = Aws::String>
48 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
59 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
60 template <typename CustomDomainCertificateArnT = Aws::String>
61 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
62 m_customDomainCertificateArnHasBeenSet = true;
63 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
64 }
65 template <typename CustomDomainCertificateArnT = Aws::String>
67 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
77 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
78 template <typename ClusterIdentifierT = Aws::String>
79 void SetClusterIdentifier(ClusterIdentifierT&& value) {
80 m_clusterIdentifierHasBeenSet = true;
81 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
82 }
83 template <typename ClusterIdentifierT = Aws::String>
85 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_customDomainName;
91
92 Aws::String m_customDomainCertificateArn;
93
94 Aws::String m_clusterIdentifier;
95 bool m_customDomainNameHasBeenSet = false;
96 bool m_customDomainCertificateArnHasBeenSet = false;
97 bool m_clusterIdentifierHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Redshift
102} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyCustomDomainAssociationRequest & WithCustomDomainName(CustomDomainNameT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
ModifyCustomDomainAssociationRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
ModifyCustomDomainAssociationRequest & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String