AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptCertificateTransferRequest.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 Http
15{
16 class URI;
17} //namespace Http
18namespace IoT
19{
20namespace Model
21{
22
30 {
31 public:
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "AcceptCertificateTransfer"; }
39
40 AWS_IOT_API Aws::String SerializePayload() const override;
41
42 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
50 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
51 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
52 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
53 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
54 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
56 inline AcceptCertificateTransferRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
57 inline AcceptCertificateTransferRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
59
61
64 inline bool GetSetAsActive() const{ return m_setAsActive; }
65 inline bool SetAsActiveHasBeenSet() const { return m_setAsActiveHasBeenSet; }
66 inline void SetSetAsActive(bool value) { m_setAsActiveHasBeenSet = true; m_setAsActive = value; }
67 inline AcceptCertificateTransferRequest& WithSetAsActive(bool value) { SetSetAsActive(value); return *this;}
69 private:
70
71 Aws::String m_certificateId;
72 bool m_certificateIdHasBeenSet = false;
73
74 bool m_setAsActive;
75 bool m_setAsActiveHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoT
80} // namespace Aws
AcceptCertificateTransferRequest & WithCertificateId(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
AcceptCertificateTransferRequest & WithSetAsActive(bool value)
AcceptCertificateTransferRequest & WithCertificateId(const Aws::String &value)
AcceptCertificateTransferRequest & WithCertificateId(const char *value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String