Skip to content

Commit ea9ff52

Browse files
Auto commit from CI.
1 parent 12c009c commit ea9ff52

File tree

56 files changed

+5461
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5461
-83
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
#define AWS_SDK_VERSION_STRING "0.10.3"
16+
#define AWS_SDK_VERSION_STRING "0.10.4"

aws-cpp-sdk-iot/include/aws/iot/IoTClient.h

Lines changed: 266 additions & 9 deletions
Large diffs are not rendered by default.

aws-cpp-sdk-iot/include/aws/iot/IoTErrors.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,15 @@ enum class AWS_IOT_API IoTErrors
4848
UNKNOWN = 100,
4949
///////////////////////////////////////////////////////////////////////////////////////////
5050

51-
CERTIFICATE_STATE= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
51+
CERTIFICATE_CONFLICT= static_cast<int>(Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
52+
CERTIFICATE_STATE,
53+
CERTIFICATE_VALIDATION,
5254
DELETE_CONFLICT,
5355
INTERNAL,
5456
INVALID_REQUEST,
5557
LIMIT_EXCEEDED,
5658
MALFORMED_POLICY,
59+
REGISTRATION_CODE_VALIDATION,
5760
RESOURCE_ALREADY_EXISTS,
5861
SQL_PARSE,
5962
TRANSFER_ALREADY_COMPLETED,
Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
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>
17+
#include <aws/core/utils/memory/stl/AWSString.h>
18+
#include <aws/iot/model/CACertificateStatus.h>
19+
#include <aws/core/utils/DateTime.h>
20+
21+
namespace Aws
22+
{
23+
namespace Utils
24+
{
25+
namespace Json
26+
{
27+
class JsonValue;
28+
} // namespace Json
29+
} // namespace Utils
30+
namespace IoT
31+
{
32+
namespace Model
33+
{
34+
35+
/**
36+
* <p>A CA certificate.</p>
37+
*/
38+
class AWS_IOT_API CACertificate
39+
{
40+
public:
41+
CACertificate();
42+
CACertificate(const Aws::Utils::Json::JsonValue& jsonValue);
43+
CACertificate& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44+
Aws::Utils::Json::JsonValue Jsonize() const;
45+
46+
/**
47+
* <p>The ARN of the CA certificate.</p>
48+
*/
49+
inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
50+
51+
/**
52+
* <p>The ARN of the CA certificate.</p>
53+
*/
54+
inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
55+
56+
/**
57+
* <p>The ARN of the CA certificate.</p>
58+
*/
59+
inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
60+
61+
/**
62+
* <p>The ARN of the CA certificate.</p>
63+
*/
64+
inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
65+
66+
/**
67+
* <p>The ARN of the CA certificate.</p>
68+
*/
69+
inline CACertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
70+
71+
/**
72+
* <p>The ARN of the CA certificate.</p>
73+
*/
74+
inline CACertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(value); return *this;}
75+
76+
/**
77+
* <p>The ARN of the CA certificate.</p>
78+
*/
79+
inline CACertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
80+
81+
/**
82+
* <p>The ID of the CA certificate.</p>
83+
*/
84+
inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
85+
86+
/**
87+
* <p>The ID of the CA certificate.</p>
88+
*/
89+
inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
90+
91+
/**
92+
* <p>The ID of the CA certificate.</p>
93+
*/
94+
inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
95+
96+
/**
97+
* <p>The ID of the CA certificate.</p>
98+
*/
99+
inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
100+
101+
/**
102+
* <p>The ID of the CA certificate.</p>
103+
*/
104+
inline CACertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
105+
106+
/**
107+
* <p>The ID of the CA certificate.</p>
108+
*/
109+
inline CACertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(value); return *this;}
110+
111+
/**
112+
* <p>The ID of the CA certificate.</p>
113+
*/
114+
inline CACertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
115+
116+
/**
117+
* <p>The status of the CA certificate.</p>
118+
*/
119+
inline const CACertificateStatus& GetStatus() const{ return m_status; }
120+
121+
/**
122+
* <p>The status of the CA certificate.</p>
123+
*/
124+
inline void SetStatus(const CACertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
125+
126+
/**
127+
* <p>The status of the CA certificate.</p>
128+
*/
129+
inline void SetStatus(CACertificateStatus&& value) { m_statusHasBeenSet = true; m_status = value; }
130+
131+
/**
132+
* <p>The status of the CA certificate.</p>
133+
*/
134+
inline CACertificate& WithStatus(const CACertificateStatus& value) { SetStatus(value); return *this;}
135+
136+
/**
137+
* <p>The status of the CA certificate.</p>
138+
*/
139+
inline CACertificate& WithStatus(CACertificateStatus&& value) { SetStatus(value); return *this;}
140+
141+
/**
142+
* <p>The date the CA certificate was created.</p>
143+
*/
144+
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
145+
146+
/**
147+
* <p>The date the CA certificate was created.</p>
148+
*/
149+
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
150+
151+
/**
152+
* <p>The date the CA certificate was created.</p>
153+
*/
154+
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
155+
156+
/**
157+
* <p>The date the CA certificate was created.</p>
158+
*/
159+
inline CACertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
160+
161+
/**
162+
* <p>The date the CA certificate was created.</p>
163+
*/
164+
inline CACertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(value); return *this;}
165+
166+
private:
167+
Aws::String m_certificateArn;
168+
bool m_certificateArnHasBeenSet;
169+
Aws::String m_certificateId;
170+
bool m_certificateIdHasBeenSet;
171+
CACertificateStatus m_status;
172+
bool m_statusHasBeenSet;
173+
Aws::Utils::DateTime m_creationDate;
174+
bool m_creationDateHasBeenSet;
175+
};
176+
177+
} // namespace Model
178+
} // namespace IoT
179+
} // namespace Aws

0 commit comments

Comments
 (0)