AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OutgoingCertificate.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API OutgoingCertificate() = default;
40
41
43
46 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
47 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 template<typename CertificateArnT = Aws::String>
49 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
50 template<typename CertificateArnT = Aws::String>
51 OutgoingCertificate& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
59 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
60 template<typename CertificateIdT = Aws::String>
61 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::forward<CertificateIdT>(value); }
62 template<typename CertificateIdT = Aws::String>
63 OutgoingCertificate& WithCertificateId(CertificateIdT&& value) { SetCertificateId(std::forward<CertificateIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetTransferredTo() const { return m_transferredTo; }
71 inline bool TransferredToHasBeenSet() const { return m_transferredToHasBeenSet; }
72 template<typename TransferredToT = Aws::String>
73 void SetTransferredTo(TransferredToT&& value) { m_transferredToHasBeenSet = true; m_transferredTo = std::forward<TransferredToT>(value); }
74 template<typename TransferredToT = Aws::String>
75 OutgoingCertificate& WithTransferredTo(TransferredToT&& value) { SetTransferredTo(std::forward<TransferredToT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetTransferDate() const { return m_transferDate; }
83 inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
84 template<typename TransferDateT = Aws::Utils::DateTime>
85 void SetTransferDate(TransferDateT&& value) { m_transferDateHasBeenSet = true; m_transferDate = std::forward<TransferDateT>(value); }
86 template<typename TransferDateT = Aws::Utils::DateTime>
87 OutgoingCertificate& WithTransferDate(TransferDateT&& value) { SetTransferDate(std::forward<TransferDateT>(value)); return *this;}
89
91
94 inline const Aws::String& GetTransferMessage() const { return m_transferMessage; }
95 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
96 template<typename TransferMessageT = Aws::String>
97 void SetTransferMessage(TransferMessageT&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::forward<TransferMessageT>(value); }
98 template<typename TransferMessageT = Aws::String>
99 OutgoingCertificate& WithTransferMessage(TransferMessageT&& value) { SetTransferMessage(std::forward<TransferMessageT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
107 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
108 template<typename CreationDateT = Aws::Utils::DateTime>
109 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
110 template<typename CreationDateT = Aws::Utils::DateTime>
111 OutgoingCertificate& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
113 private:
114
115 Aws::String m_certificateArn;
116 bool m_certificateArnHasBeenSet = false;
117
118 Aws::String m_certificateId;
119 bool m_certificateIdHasBeenSet = false;
120
121 Aws::String m_transferredTo;
122 bool m_transferredToHasBeenSet = false;
123
124 Aws::Utils::DateTime m_transferDate{};
125 bool m_transferDateHasBeenSet = false;
126
127 Aws::String m_transferMessage;
128 bool m_transferMessageHasBeenSet = false;
129
130 Aws::Utils::DateTime m_creationDate{};
131 bool m_creationDateHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace IoT
136} // namespace Aws
OutgoingCertificate & WithCreationDate(CreationDateT &&value)
const Aws::String & GetCertificateId() const
void SetTransferMessage(TransferMessageT &&value)
const Aws::String & GetTransferredTo() const
const Aws::Utils::DateTime & GetTransferDate() const
void SetCertificateId(CertificateIdT &&value)
void SetCreationDate(CreationDateT &&value)
OutgoingCertificate & WithCertificateArn(CertificateArnT &&value)
AWS_IOT_API OutgoingCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API OutgoingCertificate()=default
OutgoingCertificate & WithTransferDate(TransferDateT &&value)
const Aws::String & GetTransferMessage() const
OutgoingCertificate & WithTransferMessage(TransferMessageT &&value)
void SetCertificateArn(CertificateArnT &&value)
void SetTransferDate(TransferDateT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTransferredTo(TransferredToT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
OutgoingCertificate & WithTransferredTo(TransferredToT &&value)
AWS_IOT_API OutgoingCertificate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateArn() const
OutgoingCertificate & WithCertificateId(CertificateIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue