AWS SDK for C++  1.9.124
AWS SDK for C++
DeleteCACertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteCACertificate"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
43 
48  inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
49 
54  inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
55 
60  inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
61 
66  inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
67 
72  inline DeleteCACertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
73 
78  inline DeleteCACertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
79 
84  inline DeleteCACertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
85 
86  private:
87 
88  Aws::String m_certificateId;
89  bool m_certificateIdHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace IoT
94 } // namespace Aws
Aws::IoT::Model::DeleteCACertificateRequest::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: DeleteCACertificateRequest.h:54
Aws::IoT::Model::DeleteCACertificateRequest::SetCertificateId
void SetCertificateId(const char *value)
Definition: DeleteCACertificateRequest.h:66
Aws::IoT::Model::DeleteCACertificateRequest::WithCertificateId
DeleteCACertificateRequest & WithCertificateId(const Aws::String &value)
Definition: DeleteCACertificateRequest.h:72
Aws::IoT::Model::DeleteCACertificateRequest::WithCertificateId
DeleteCACertificateRequest & WithCertificateId(Aws::String &&value)
Definition: DeleteCACertificateRequest.h:78
Aws::IoT::Model::DeleteCACertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DeleteCACertificateRequest::DeleteCACertificateRequest
DeleteCACertificateRequest()
Aws::IoT::Model::DeleteCACertificateRequest::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: DeleteCACertificateRequest.h:42
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteCACertificateRequest::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: DeleteCACertificateRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DeleteCACertificateRequest::CertificateIdHasBeenSet
bool CertificateIdHasBeenSet() const
Definition: DeleteCACertificateRequest.h:48
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DeleteCACertificateRequest
Definition: DeleteCACertificateRequest.h:25
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::DeleteCACertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteCACertificateRequest.h:33
Aws::IoT::Model::DeleteCACertificateRequest::WithCertificateId
DeleteCACertificateRequest & WithCertificateId(const char *value)
Definition: DeleteCACertificateRequest.h:84
IoT_EXPORTS.h