AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectCertificateTransferRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoT
15{
16namespace 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 "RejectCertificateTransfer"; }
35
36 AWS_IOT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
45 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
46 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
47 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
48 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
50 inline RejectCertificateTransferRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
51 inline RejectCertificateTransferRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
53
55
58 inline const Aws::String& GetRejectReason() const{ return m_rejectReason; }
59 inline bool RejectReasonHasBeenSet() const { return m_rejectReasonHasBeenSet; }
60 inline void SetRejectReason(const Aws::String& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = value; }
61 inline void SetRejectReason(Aws::String&& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = std::move(value); }
62 inline void SetRejectReason(const char* value) { m_rejectReasonHasBeenSet = true; m_rejectReason.assign(value); }
64 inline RejectCertificateTransferRequest& WithRejectReason(Aws::String&& value) { SetRejectReason(std::move(value)); return *this;}
65 inline RejectCertificateTransferRequest& WithRejectReason(const char* value) { SetRejectReason(value); return *this;}
67 private:
68
69 Aws::String m_certificateId;
70 bool m_certificateIdHasBeenSet = false;
71
72 Aws::String m_rejectReason;
73 bool m_rejectReasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
RejectCertificateTransferRequest & WithRejectReason(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
RejectCertificateTransferRequest & WithCertificateId(Aws::String &&value)
RejectCertificateTransferRequest & WithRejectReason(const Aws::String &value)
RejectCertificateTransferRequest & WithRejectReason(const char *value)
RejectCertificateTransferRequest & WithCertificateId(const Aws::String &value)
RejectCertificateTransferRequest & WithCertificateId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String