AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = value; }
46 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::move(value); }
47 inline void SetCustomDomainName(const char* value) { m_customDomainNameHasBeenSet = true; m_customDomainName.assign(value); }
50 inline CreateCustomDomainAssociationRequest& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
52
54
58 inline const Aws::String& GetCustomDomainCertificateArn() const{ return m_customDomainCertificateArn; }
59 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
60 inline void SetCustomDomainCertificateArn(const Aws::String& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = value; }
61 inline void SetCustomDomainCertificateArn(Aws::String&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::move(value); }
62 inline void SetCustomDomainCertificateArn(const char* value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn.assign(value); }
67
69
72 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
73 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
74 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
75 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
76 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
79 inline CreateCustomDomainAssociationRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
81 private:
82
83 Aws::String m_customDomainName;
84 bool m_customDomainNameHasBeenSet = false;
85
86 Aws::String m_customDomainCertificateArn;
87 bool m_customDomainCertificateArnHasBeenSet = false;
88
89 Aws::String m_clusterIdentifier;
90 bool m_clusterIdentifierHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Redshift
95} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateCustomDomainAssociationRequest & WithCustomDomainCertificateArn(const Aws::String &value)
CreateCustomDomainAssociationRequest & WithClusterIdentifier(const Aws::String &value)
CreateCustomDomainAssociationRequest & WithCustomDomainCertificateArn(Aws::String &&value)
CreateCustomDomainAssociationRequest & WithCustomDomainName(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateCustomDomainAssociationRequest & WithClusterIdentifier(Aws::String &&value)
CreateCustomDomainAssociationRequest & WithClusterIdentifier(const char *value)
CreateCustomDomainAssociationRequest & WithCustomDomainCertificateArn(const char *value)
CreateCustomDomainAssociationRequest & WithCustomDomainName(const Aws::String &value)
CreateCustomDomainAssociationRequest & WithCustomDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String