AWS SDK for C++  1.9.108
AWS SDK for C++
ModifyCertificatesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace 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 "ModifyCertificates"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline const Aws::String& GetCertificateIdentifier() const{ return m_certificateIdentifier; }
45 
51  inline bool CertificateIdentifierHasBeenSet() const { return m_certificateIdentifierHasBeenSet; }
52 
58  inline void SetCertificateIdentifier(const Aws::String& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = value; }
59 
65  inline void SetCertificateIdentifier(Aws::String&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::move(value); }
66 
72  inline void SetCertificateIdentifier(const char* value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier.assign(value); }
73 
79  inline ModifyCertificatesRequest& WithCertificateIdentifier(const Aws::String& value) { SetCertificateIdentifier(value); return *this;}
80 
86  inline ModifyCertificatesRequest& WithCertificateIdentifier(Aws::String&& value) { SetCertificateIdentifier(std::move(value)); return *this;}
87 
93  inline ModifyCertificatesRequest& WithCertificateIdentifier(const char* value) { SetCertificateIdentifier(value); return *this;}
94 
95 
101  inline bool GetRemoveCustomerOverride() const{ return m_removeCustomerOverride; }
102 
108  inline bool RemoveCustomerOverrideHasBeenSet() const { return m_removeCustomerOverrideHasBeenSet; }
109 
115  inline void SetRemoveCustomerOverride(bool value) { m_removeCustomerOverrideHasBeenSet = true; m_removeCustomerOverride = value; }
116 
122  inline ModifyCertificatesRequest& WithRemoveCustomerOverride(bool value) { SetRemoveCustomerOverride(value); return *this;}
123 
124  private:
125 
126  Aws::String m_certificateIdentifier;
127  bool m_certificateIdentifierHasBeenSet;
128 
129  bool m_removeCustomerOverride;
130  bool m_removeCustomerOverrideHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace RDS
135 } // namespace Aws
Aws::RDS::Model::ModifyCertificatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyCertificatesRequest::SetCertificateIdentifier
void SetCertificateIdentifier(const char *value)
Definition: ModifyCertificatesRequest.h:72
Aws::Http::URI
Definition: URI.h:32
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyCertificatesRequest::SetCertificateIdentifier
void SetCertificateIdentifier(const Aws::String &value)
Definition: ModifyCertificatesRequest.h:58
Aws::RDS::Model::ModifyCertificatesRequest::WithCertificateIdentifier
ModifyCertificatesRequest & WithCertificateIdentifier(Aws::String &&value)
Definition: ModifyCertificatesRequest.h:86
Aws::RDS::Model::ModifyCertificatesRequest::SetRemoveCustomerOverride
void SetRemoveCustomerOverride(bool value)
Definition: ModifyCertificatesRequest.h:115
Aws::RDS::Model::ModifyCertificatesRequest
Definition: ModifyCertificatesRequest.h:22
Aws::RDS::Model::ModifyCertificatesRequest::CertificateIdentifierHasBeenSet
bool CertificateIdentifierHasBeenSet() const
Definition: ModifyCertificatesRequest.h:51
Aws::RDS::Model::ModifyCertificatesRequest::SetCertificateIdentifier
void SetCertificateIdentifier(Aws::String &&value)
Definition: ModifyCertificatesRequest.h:65
RDS_EXPORTS.h
Aws::RDS::Model::ModifyCertificatesRequest::GetCertificateIdentifier
const Aws::String & GetCertificateIdentifier() const
Definition: ModifyCertificatesRequest.h:44
Aws::RDS::Model::ModifyCertificatesRequest::RemoveCustomerOverrideHasBeenSet
bool RemoveCustomerOverrideHasBeenSet() const
Definition: ModifyCertificatesRequest.h:108
Aws::RDS::Model::ModifyCertificatesRequest::ModifyCertificatesRequest
ModifyCertificatesRequest()
AWSString.h
Aws::RDS::Model::ModifyCertificatesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyCertificatesRequest::GetRemoveCustomerOverride
bool GetRemoveCustomerOverride() const
Definition: ModifyCertificatesRequest.h:101
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyCertificatesRequest::WithRemoveCustomerOverride
ModifyCertificatesRequest & WithRemoveCustomerOverride(bool value)
Definition: ModifyCertificatesRequest.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::ModifyCertificatesRequest::WithCertificateIdentifier
ModifyCertificatesRequest & WithCertificateIdentifier(const Aws::String &value)
Definition: ModifyCertificatesRequest.h:79
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyCertificatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyCertificatesRequest.h:30
Aws::RDS::Model::ModifyCertificatesRequest::WithCertificateIdentifier
ModifyCertificatesRequest & WithCertificateIdentifier(const char *value)
Definition: ModifyCertificatesRequest.h:93