AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
47 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
49 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
50 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
51 inline OutgoingCertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
52 inline OutgoingCertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
53 inline OutgoingCertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
55
57
60 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
61 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
62 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
63 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
64 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
65 inline OutgoingCertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
66 inline OutgoingCertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
67 inline OutgoingCertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
69
71
74 inline const Aws::String& GetTransferredTo() const{ return m_transferredTo; }
75 inline bool TransferredToHasBeenSet() const { return m_transferredToHasBeenSet; }
76 inline void SetTransferredTo(const Aws::String& value) { m_transferredToHasBeenSet = true; m_transferredTo = value; }
77 inline void SetTransferredTo(Aws::String&& value) { m_transferredToHasBeenSet = true; m_transferredTo = std::move(value); }
78 inline void SetTransferredTo(const char* value) { m_transferredToHasBeenSet = true; m_transferredTo.assign(value); }
79 inline OutgoingCertificate& WithTransferredTo(const Aws::String& value) { SetTransferredTo(value); return *this;}
80 inline OutgoingCertificate& WithTransferredTo(Aws::String&& value) { SetTransferredTo(std::move(value)); return *this;}
81 inline OutgoingCertificate& WithTransferredTo(const char* value) { SetTransferredTo(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetTransferDate() const{ return m_transferDate; }
89 inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
90 inline void SetTransferDate(const Aws::Utils::DateTime& value) { m_transferDateHasBeenSet = true; m_transferDate = value; }
91 inline void SetTransferDate(Aws::Utils::DateTime&& value) { m_transferDateHasBeenSet = true; m_transferDate = std::move(value); }
92 inline OutgoingCertificate& WithTransferDate(const Aws::Utils::DateTime& value) { SetTransferDate(value); return *this;}
93 inline OutgoingCertificate& WithTransferDate(Aws::Utils::DateTime&& value) { SetTransferDate(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetTransferMessage() const{ return m_transferMessage; }
101 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
102 inline void SetTransferMessage(const Aws::String& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
103 inline void SetTransferMessage(Aws::String&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::move(value); }
104 inline void SetTransferMessage(const char* value) { m_transferMessageHasBeenSet = true; m_transferMessage.assign(value); }
105 inline OutgoingCertificate& WithTransferMessage(const Aws::String& value) { SetTransferMessage(value); return *this;}
106 inline OutgoingCertificate& WithTransferMessage(Aws::String&& value) { SetTransferMessage(std::move(value)); return *this;}
107 inline OutgoingCertificate& WithTransferMessage(const char* value) { SetTransferMessage(value); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
115 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
116 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
117 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
118 inline OutgoingCertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
119 inline OutgoingCertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_certificateArn;
124 bool m_certificateArnHasBeenSet = false;
125
126 Aws::String m_certificateId;
127 bool m_certificateIdHasBeenSet = false;
128
129 Aws::String m_transferredTo;
130 bool m_transferredToHasBeenSet = false;
131
132 Aws::Utils::DateTime m_transferDate;
133 bool m_transferDateHasBeenSet = false;
134
135 Aws::String m_transferMessage;
136 bool m_transferMessageHasBeenSet = false;
137
138 Aws::Utils::DateTime m_creationDate;
139 bool m_creationDateHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace IoT
144} // namespace Aws
void SetCertificateArn(const Aws::String &value)
const Aws::String & GetCertificateId() const
OutgoingCertificate & WithTransferMessage(Aws::String &&value)
void SetTransferMessage(const Aws::String &value)
OutgoingCertificate & WithCertificateArn(const Aws::String &value)
OutgoingCertificate & WithTransferDate(const Aws::Utils::DateTime &value)
OutgoingCertificate & WithTransferredTo(const Aws::String &value)
void SetCertificateArn(Aws::String &&value)
void SetTransferMessage(Aws::String &&value)
const Aws::String & GetTransferredTo() const
void SetTransferredTo(const Aws::String &value)
OutgoingCertificate & WithTransferMessage(const char *value)
void SetCertificateId(Aws::String &&value)
const Aws::Utils::DateTime & GetTransferDate() const
OutgoingCertificate & WithCertificateId(const Aws::String &value)
OutgoingCertificate & WithTransferDate(Aws::Utils::DateTime &&value)
void SetTransferDate(Aws::Utils::DateTime &&value)
void SetTransferredTo(Aws::String &&value)
AWS_IOT_API OutgoingCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTransferMessage() const
void SetCreationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertificateId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetTransferDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
OutgoingCertificate & WithCertificateArn(const char *value)
OutgoingCertificate & WithTransferMessage(const Aws::String &value)
OutgoingCertificate & WithCertificateId(Aws::String &&value)
AWS_IOT_API OutgoingCertificate(Aws::Utils::Json::JsonView jsonValue)
OutgoingCertificate & WithCertificateId(const char *value)
OutgoingCertificate & WithTransferredTo(const char *value)
const Aws::String & GetCertificateArn() const
OutgoingCertificate & WithCertificateArn(Aws::String &&value)
OutgoingCertificate & WithCreationDate(Aws::Utils::DateTime &&value)
OutgoingCertificate & WithCreationDate(const Aws::Utils::DateTime &value)
OutgoingCertificate & WithTransferredTo(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue