AWS SDK for C++  1.9.129
AWS SDK for C++
CancelCertificateTransferRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CancelCertificateTransfer"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
44 
49  inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
50 
55  inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
56 
61  inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
62 
67  inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
68 
73  inline CancelCertificateTransferRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
74 
79  inline CancelCertificateTransferRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
80 
85  inline CancelCertificateTransferRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
86 
87  private:
88 
89  Aws::String m_certificateId;
90  bool m_certificateIdHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace IoT
95 } // namespace Aws
Aws::IoT::Model::CancelCertificateTransferRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CancelCertificateTransferRequest.h:34
Aws::IoT::Model::CancelCertificateTransferRequest::CertificateIdHasBeenSet
bool CertificateIdHasBeenSet() const
Definition: CancelCertificateTransferRequest.h:49
Aws::IoT::Model::CancelCertificateTransferRequest::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: CancelCertificateTransferRequest.h:43
Aws::IoT::Model::CancelCertificateTransferRequest::WithCertificateId
CancelCertificateTransferRequest & WithCertificateId(const char *value)
Definition: CancelCertificateTransferRequest.h:85
Aws::IoT::Model::CancelCertificateTransferRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::CancelCertificateTransferRequest
Definition: CancelCertificateTransferRequest.h:26
Aws::IoT::Model::CancelCertificateTransferRequest::SetCertificateId
void SetCertificateId(const char *value)
Definition: CancelCertificateTransferRequest.h:67
Aws::IoT::Model::CancelCertificateTransferRequest::WithCertificateId
CancelCertificateTransferRequest & WithCertificateId(const Aws::String &value)
Definition: CancelCertificateTransferRequest.h:73
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CancelCertificateTransferRequest::CancelCertificateTransferRequest
CancelCertificateTransferRequest()
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CancelCertificateTransferRequest::WithCertificateId
CancelCertificateTransferRequest & WithCertificateId(Aws::String &&value)
Definition: CancelCertificateTransferRequest.h:79
IoTRequest.h
Aws::IoT::Model::CancelCertificateTransferRequest::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: CancelCertificateTransferRequest.h:55
Aws::IoT::Model::CancelCertificateTransferRequest::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: CancelCertificateTransferRequest.h:61
IoT_EXPORTS.h