AWS SDK for C++  1.9.19
AWS SDK for C++
ServerCertificateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetServerCertificateArn() const{ return m_serverCertificateArn; }
46 
50  inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; }
51 
55  inline void SetServerCertificateArn(const Aws::String& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = value; }
56 
60  inline void SetServerCertificateArn(Aws::String&& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = std::move(value); }
61 
65  inline void SetServerCertificateArn(const char* value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn.assign(value); }
66 
70  inline ServerCertificateSummary& WithServerCertificateArn(const Aws::String& value) { SetServerCertificateArn(value); return *this;}
71 
75  inline ServerCertificateSummary& WithServerCertificateArn(Aws::String&& value) { SetServerCertificateArn(std::move(value)); return *this;}
76 
80  inline ServerCertificateSummary& WithServerCertificateArn(const char* value) { SetServerCertificateArn(value); return *this;}
81 
82 
86  inline const ServerCertificateStatus& GetServerCertificateStatus() const{ return m_serverCertificateStatus; }
87 
91  inline bool ServerCertificateStatusHasBeenSet() const { return m_serverCertificateStatusHasBeenSet; }
92 
96  inline void SetServerCertificateStatus(const ServerCertificateStatus& value) { m_serverCertificateStatusHasBeenSet = true; m_serverCertificateStatus = value; }
97 
101  inline void SetServerCertificateStatus(ServerCertificateStatus&& value) { m_serverCertificateStatusHasBeenSet = true; m_serverCertificateStatus = std::move(value); }
102 
106  inline ServerCertificateSummary& WithServerCertificateStatus(const ServerCertificateStatus& value) { SetServerCertificateStatus(value); return *this;}
107 
111  inline ServerCertificateSummary& WithServerCertificateStatus(ServerCertificateStatus&& value) { SetServerCertificateStatus(std::move(value)); return *this;}
112 
113 
117  inline const Aws::String& GetServerCertificateStatusDetail() const{ return m_serverCertificateStatusDetail; }
118 
122  inline bool ServerCertificateStatusDetailHasBeenSet() const { return m_serverCertificateStatusDetailHasBeenSet; }
123 
127  inline void SetServerCertificateStatusDetail(const Aws::String& value) { m_serverCertificateStatusDetailHasBeenSet = true; m_serverCertificateStatusDetail = value; }
128 
132  inline void SetServerCertificateStatusDetail(Aws::String&& value) { m_serverCertificateStatusDetailHasBeenSet = true; m_serverCertificateStatusDetail = std::move(value); }
133 
137  inline void SetServerCertificateStatusDetail(const char* value) { m_serverCertificateStatusDetailHasBeenSet = true; m_serverCertificateStatusDetail.assign(value); }
138 
142  inline ServerCertificateSummary& WithServerCertificateStatusDetail(const Aws::String& value) { SetServerCertificateStatusDetail(value); return *this;}
143 
147  inline ServerCertificateSummary& WithServerCertificateStatusDetail(Aws::String&& value) { SetServerCertificateStatusDetail(std::move(value)); return *this;}
148 
152  inline ServerCertificateSummary& WithServerCertificateStatusDetail(const char* value) { SetServerCertificateStatusDetail(value); return *this;}
153 
154  private:
155 
156  Aws::String m_serverCertificateArn;
157  bool m_serverCertificateArnHasBeenSet;
158 
159  ServerCertificateStatus m_serverCertificateStatus;
160  bool m_serverCertificateStatusHasBeenSet;
161 
162  Aws::String m_serverCertificateStatusDetail;
163  bool m_serverCertificateStatusDetailHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace IoT
168 } // namespace Aws
Aws::IoT::Model::ServerCertificateSummary::operator=
ServerCertificateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ServerCertificateSummary::GetServerCertificateStatusDetail
const Aws::String & GetServerCertificateStatusDetail() const
Definition: ServerCertificateSummary.h:117
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateStatusDetail
ServerCertificateSummary & WithServerCertificateStatusDetail(Aws::String &&value)
Definition: ServerCertificateSummary.h:147
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateStatusDetail
void SetServerCertificateStatusDetail(const Aws::String &value)
Definition: ServerCertificateSummary.h:127
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateStatusDetail
void SetServerCertificateStatusDetail(Aws::String &&value)
Definition: ServerCertificateSummary.h:132
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateStatusDetail
ServerCertificateSummary & WithServerCertificateStatusDetail(const Aws::String &value)
Definition: ServerCertificateSummary.h:142
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateStatusDetail
ServerCertificateSummary & WithServerCertificateStatusDetail(const char *value)
Definition: ServerCertificateSummary.h:152
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateArn
void SetServerCertificateArn(const char *value)
Definition: ServerCertificateSummary.h:65
Aws::IoT::Model::ServerCertificateSummary
Definition: ServerCertificateSummary.h:34
Aws::IoT::Model::ServerCertificateSummary::ServerCertificateArnHasBeenSet
bool ServerCertificateArnHasBeenSet() const
Definition: ServerCertificateSummary.h:50
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateArn
ServerCertificateSummary & WithServerCertificateArn(Aws::String &&value)
Definition: ServerCertificateSummary.h:75
Aws::IoT::Model::ServerCertificateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateStatus
ServerCertificateSummary & WithServerCertificateStatus(const ServerCertificateStatus &value)
Definition: ServerCertificateSummary.h:106
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateArn
void SetServerCertificateArn(Aws::String &&value)
Definition: ServerCertificateSummary.h:60
Aws::IoT::Model::ServerCertificateSummary::GetServerCertificateArn
const Aws::String & GetServerCertificateArn() const
Definition: ServerCertificateSummary.h:45
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateArn
ServerCertificateSummary & WithServerCertificateArn(const char *value)
Definition: ServerCertificateSummary.h:80
Aws::IoT::Model::ServerCertificateSummary::ServerCertificateStatusHasBeenSet
bool ServerCertificateStatusHasBeenSet() const
Definition: ServerCertificateSummary.h:91
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateStatus
ServerCertificateSummary & WithServerCertificateStatus(ServerCertificateStatus &&value)
Definition: ServerCertificateSummary.h:111
Aws::IoT::Model::ServerCertificateSummary::ServerCertificateSummary
ServerCertificateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ServerCertificateSummary::ServerCertificateSummary
ServerCertificateSummary()
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateArn
void SetServerCertificateArn(const Aws::String &value)
Definition: ServerCertificateSummary.h:55
ServerCertificateStatus.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoT::Model::ServerCertificateStatus
ServerCertificateStatus
Definition: ServerCertificateStatus.h:17
Aws::IoT::Model::ServerCertificateSummary::WithServerCertificateArn
ServerCertificateSummary & WithServerCertificateArn(const Aws::String &value)
Definition: ServerCertificateSummary.h:70
Aws::IoT::Model::ServerCertificateSummary::GetServerCertificateStatus
const ServerCertificateStatus & GetServerCertificateStatus() const
Definition: ServerCertificateSummary.h:86
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateStatus
void SetServerCertificateStatus(const ServerCertificateStatus &value)
Definition: ServerCertificateSummary.h:96
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateStatusDetail
void SetServerCertificateStatusDetail(const char *value)
Definition: ServerCertificateSummary.h:137
Aws::IoT::Model::ServerCertificateSummary::ServerCertificateStatusDetailHasBeenSet
bool ServerCertificateStatusDetailHasBeenSet() const
Definition: ServerCertificateSummary.h:122
IoT_EXPORTS.h
Aws::IoT::Model::ServerCertificateSummary::SetServerCertificateStatus
void SetServerCertificateStatus(ServerCertificateStatus &&value)
Definition: ServerCertificateSummary.h:101