AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteCustomDomainAssociationRequest.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 DeleteCustomDomainAssociationRequest() = 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 "DeleteCustomDomainAssociation"; }
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& GetClusterIdentifier() const { return m_clusterIdentifier; }
40 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
41 template <typename ClusterIdentifierT = Aws::String>
42 void SetClusterIdentifier(ClusterIdentifierT&& value) {
43 m_clusterIdentifierHasBeenSet = true;
44 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
45 }
46 template <typename ClusterIdentifierT = Aws::String>
48 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
58 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
59 template <typename CustomDomainNameT = Aws::String>
60 void SetCustomDomainName(CustomDomainNameT&& value) {
61 m_customDomainNameHasBeenSet = true;
62 m_customDomainName = std::forward<CustomDomainNameT>(value);
63 }
64 template <typename CustomDomainNameT = Aws::String>
66 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_clusterIdentifier;
72
73 Aws::String m_customDomainName;
74 bool m_clusterIdentifierHasBeenSet = false;
75 bool m_customDomainNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Redshift
80} // namespace Aws
DeleteCustomDomainAssociationRequest & WithCustomDomainName(CustomDomainNameT &&value)
DeleteCustomDomainAssociationRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String