AWS SDK for C++  0.14.3
AWS SDK for C++
OutgoingCertificate.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/iot/IoT_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace IoT
30 {
31 namespace Model
32 {
33 
38  {
39  public:
42  OutgoingCertificate& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
48  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
49 
53  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
54 
58  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
59 
63  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
64 
68  inline OutgoingCertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
69 
73  inline OutgoingCertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(value); return *this;}
74 
78  inline OutgoingCertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
79 
83  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
84 
88  inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
89 
93  inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
94 
98  inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
99 
103  inline OutgoingCertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
104 
108  inline OutgoingCertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(value); return *this;}
109 
113  inline OutgoingCertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
114 
118  inline const Aws::String& GetTransferredTo() const{ return m_transferredTo; }
119 
123  inline void SetTransferredTo(const Aws::String& value) { m_transferredToHasBeenSet = true; m_transferredTo = value; }
124 
128  inline void SetTransferredTo(Aws::String&& value) { m_transferredToHasBeenSet = true; m_transferredTo = value; }
129 
133  inline void SetTransferredTo(const char* value) { m_transferredToHasBeenSet = true; m_transferredTo.assign(value); }
134 
138  inline OutgoingCertificate& WithTransferredTo(const Aws::String& value) { SetTransferredTo(value); return *this;}
139 
143  inline OutgoingCertificate& WithTransferredTo(Aws::String&& value) { SetTransferredTo(value); return *this;}
144 
148  inline OutgoingCertificate& WithTransferredTo(const char* value) { SetTransferredTo(value); return *this;}
149 
153  inline const Aws::Utils::DateTime& GetTransferDate() const{ return m_transferDate; }
154 
158  inline void SetTransferDate(const Aws::Utils::DateTime& value) { m_transferDateHasBeenSet = true; m_transferDate = value; }
159 
163  inline void SetTransferDate(Aws::Utils::DateTime&& value) { m_transferDateHasBeenSet = true; m_transferDate = value; }
164 
168  inline OutgoingCertificate& WithTransferDate(const Aws::Utils::DateTime& value) { SetTransferDate(value); return *this;}
169 
173  inline OutgoingCertificate& WithTransferDate(Aws::Utils::DateTime&& value) { SetTransferDate(value); return *this;}
174 
178  inline const Aws::String& GetTransferMessage() const{ return m_transferMessage; }
179 
183  inline void SetTransferMessage(const Aws::String& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
184 
188  inline void SetTransferMessage(Aws::String&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
189 
193  inline void SetTransferMessage(const char* value) { m_transferMessageHasBeenSet = true; m_transferMessage.assign(value); }
194 
198  inline OutgoingCertificate& WithTransferMessage(const Aws::String& value) { SetTransferMessage(value); return *this;}
199 
203  inline OutgoingCertificate& WithTransferMessage(Aws::String&& value) { SetTransferMessage(value); return *this;}
204 
208  inline OutgoingCertificate& WithTransferMessage(const char* value) { SetTransferMessage(value); return *this;}
209 
213  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
214 
218  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
219 
223  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
224 
228  inline OutgoingCertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
229 
233  inline OutgoingCertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(value); return *this;}
234 
235  private:
236  Aws::String m_certificateArn;
237  bool m_certificateArnHasBeenSet;
238  Aws::String m_certificateId;
239  bool m_certificateIdHasBeenSet;
240  Aws::String m_transferredTo;
241  bool m_transferredToHasBeenSet;
242  Aws::Utils::DateTime m_transferDate;
243  bool m_transferDateHasBeenSet;
244  Aws::String m_transferMessage;
245  bool m_transferMessageHasBeenSet;
246  Aws::Utils::DateTime m_creationDate;
247  bool m_creationDateHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace IoT
252 } // namespace Aws
void SetCertificateId(const Aws::String &value)
const Aws::Utils::DateTime & GetTransferDate() const
OutgoingCertificate & WithTransferMessage(const char *value)
void SetTransferDate(const Aws::Utils::DateTime &value)
void SetTransferDate(Aws::Utils::DateTime &&value)
const Aws::String & GetCertificateId() const
OutgoingCertificate & WithTransferredTo(Aws::String &&value)
OutgoingCertificate & WithCertificateArn(Aws::String &&value)
const Aws::String & GetTransferredTo() const
OutgoingCertificate & WithCertificateArn(const char *value)
void SetTransferredTo(Aws::String &&value)
void SetCertificateArn(Aws::String &&value)
void SetCertificateArn(const Aws::String &value)
OutgoingCertificate & WithTransferredTo(const Aws::String &value)
OutgoingCertificate & WithCertificateId(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetCertificateId(const char *value)
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:37
void SetTransferMessage(const char *value)
OutgoingCertificate & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCertificateArn(const char *value)
OutgoingCertificate & WithCertificateId(const Aws::String &value)
OutgoingCertificate & WithTransferredTo(const char *value)
OutgoingCertificate & WithTransferMessage(const Aws::String &value)
OutgoingCertificate & WithCertificateId(Aws::String &&value)
OutgoingCertificate & WithTransferMessage(Aws::String &&value)
void SetTransferMessage(const Aws::String &value)
void SetTransferMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
OutgoingCertificate & WithTransferDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetCertificateId(Aws::String &&value)
OutgoingCertificate & WithCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
OutgoingCertificate & WithTransferDate(Aws::Utils::DateTime &&value)
const Aws::String & GetCertificateArn() const
void SetTransferredTo(const Aws::String &value)
const Aws::String & GetTransferMessage() const
OutgoingCertificate & WithCertificateArn(const Aws::String &value)
JSON (JavaScript Object Notation).