AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
ServerCertificateSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/ServerCertificateStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
30 public:
31 AWS_IOT_API ServerCertificateSummary() = default;
35
37
40 inline const Aws::String& GetServerCertificateArn() const { return m_serverCertificateArn; }
41 inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; }
42 template <typename ServerCertificateArnT = Aws::String>
43 void SetServerCertificateArn(ServerCertificateArnT&& value) {
44 m_serverCertificateArnHasBeenSet = true;
45 m_serverCertificateArn = std::forward<ServerCertificateArnT>(value);
46 }
47 template <typename ServerCertificateArnT = Aws::String>
48 ServerCertificateSummary& WithServerCertificateArn(ServerCertificateArnT&& value) {
49 SetServerCertificateArn(std::forward<ServerCertificateArnT>(value));
50 return *this;
51 }
53
55
58 inline ServerCertificateStatus GetServerCertificateStatus() const { return m_serverCertificateStatus; }
59 inline bool ServerCertificateStatusHasBeenSet() const { return m_serverCertificateStatusHasBeenSet; }
61 m_serverCertificateStatusHasBeenSet = true;
62 m_serverCertificateStatus = value;
63 }
66 return *this;
67 }
69
71
74 inline const Aws::String& GetServerCertificateStatusDetail() const { return m_serverCertificateStatusDetail; }
75 inline bool ServerCertificateStatusDetailHasBeenSet() const { return m_serverCertificateStatusDetailHasBeenSet; }
76 template <typename ServerCertificateStatusDetailT = Aws::String>
77 void SetServerCertificateStatusDetail(ServerCertificateStatusDetailT&& value) {
78 m_serverCertificateStatusDetailHasBeenSet = true;
79 m_serverCertificateStatusDetail = std::forward<ServerCertificateStatusDetailT>(value);
80 }
81 template <typename ServerCertificateStatusDetailT = Aws::String>
82 ServerCertificateSummary& WithServerCertificateStatusDetail(ServerCertificateStatusDetailT&& value) {
83 SetServerCertificateStatusDetail(std::forward<ServerCertificateStatusDetailT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_serverCertificateArn;
89
91
92 Aws::String m_serverCertificateStatusDetail;
93 bool m_serverCertificateArnHasBeenSet = false;
94 bool m_serverCertificateStatusHasBeenSet = false;
95 bool m_serverCertificateStatusDetailHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace IoT
100} // namespace Aws
const Aws::String & GetServerCertificateStatusDetail() const
AWS_IOT_API ServerCertificateSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ServerCertificateSummary()=default
void SetServerCertificateStatusDetail(ServerCertificateStatusDetailT &&value)
ServerCertificateStatus GetServerCertificateStatus() const
ServerCertificateSummary & WithServerCertificateArn(ServerCertificateArnT &&value)
void SetServerCertificateStatus(ServerCertificateStatus value)
ServerCertificateSummary & WithServerCertificateStatus(ServerCertificateStatus value)
void SetServerCertificateArn(ServerCertificateArnT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ServerCertificateSummary & WithServerCertificateStatusDetail(ServerCertificateStatusDetailT &&value)
AWS_IOT_API ServerCertificateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue