AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransferCertificateRequest.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 "TransferCertificate"; }
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); }
55 inline TransferCertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
56 inline TransferCertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
57 inline TransferCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
59
61
64 inline const Aws::String& GetTargetAwsAccount() const{ return m_targetAwsAccount; }
65 inline bool TargetAwsAccountHasBeenSet() const { return m_targetAwsAccountHasBeenSet; }
66 inline void SetTargetAwsAccount(const Aws::String& value) { m_targetAwsAccountHasBeenSet = true; m_targetAwsAccount = value; }
67 inline void SetTargetAwsAccount(Aws::String&& value) { m_targetAwsAccountHasBeenSet = true; m_targetAwsAccount = std::move(value); }
68 inline void SetTargetAwsAccount(const char* value) { m_targetAwsAccountHasBeenSet = true; m_targetAwsAccount.assign(value); }
70 inline TransferCertificateRequest& WithTargetAwsAccount(Aws::String&& value) { SetTargetAwsAccount(std::move(value)); return *this;}
71 inline TransferCertificateRequest& WithTargetAwsAccount(const char* value) { SetTargetAwsAccount(value); return *this;}
73
75
78 inline const Aws::String& GetTransferMessage() const{ return m_transferMessage; }
79 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
80 inline void SetTransferMessage(const Aws::String& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
81 inline void SetTransferMessage(Aws::String&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::move(value); }
82 inline void SetTransferMessage(const char* value) { m_transferMessageHasBeenSet = true; m_transferMessage.assign(value); }
84 inline TransferCertificateRequest& WithTransferMessage(Aws::String&& value) { SetTransferMessage(std::move(value)); return *this;}
85 inline TransferCertificateRequest& WithTransferMessage(const char* value) { SetTransferMessage(value); return *this;}
87 private:
88
89 Aws::String m_certificateId;
90 bool m_certificateIdHasBeenSet = false;
91
92 Aws::String m_targetAwsAccount;
93 bool m_targetAwsAccountHasBeenSet = false;
94
95 Aws::String m_transferMessage;
96 bool m_transferMessageHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace IoT
101} // namespace Aws
TransferCertificateRequest & WithCertificateId(Aws::String &&value)
TransferCertificateRequest & WithTargetAwsAccount(Aws::String &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
TransferCertificateRequest & WithTransferMessage(const char *value)
TransferCertificateRequest & WithCertificateId(const Aws::String &value)
TransferCertificateRequest & WithTransferMessage(Aws::String &&value)
TransferCertificateRequest & WithTransferMessage(const Aws::String &value)
TransferCertificateRequest & WithTargetAwsAccount(const char *value)
TransferCertificateRequest & WithTargetAwsAccount(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
TransferCertificateRequest & WithCertificateId(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String