AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CrlDetail.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace RolesAnywhere
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ROLESANYWHERE_API CrlDetail();
38 AWS_ROLESANYWHERE_API CrlDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROLESANYWHERE_API CrlDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
49 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
50 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
51 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
52 inline CrlDetail& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
53 inline CrlDetail& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetCrlArn() const{ return m_crlArn; }
61 inline bool CrlArnHasBeenSet() const { return m_crlArnHasBeenSet; }
62 inline void SetCrlArn(const Aws::String& value) { m_crlArnHasBeenSet = true; m_crlArn = value; }
63 inline void SetCrlArn(Aws::String&& value) { m_crlArnHasBeenSet = true; m_crlArn = std::move(value); }
64 inline void SetCrlArn(const char* value) { m_crlArnHasBeenSet = true; m_crlArn.assign(value); }
65 inline CrlDetail& WithCrlArn(const Aws::String& value) { SetCrlArn(value); return *this;}
66 inline CrlDetail& WithCrlArn(Aws::String&& value) { SetCrlArn(std::move(value)); return *this;}
67 inline CrlDetail& WithCrlArn(const char* value) { SetCrlArn(value); return *this;}
69
71
75 inline const Aws::Utils::ByteBuffer& GetCrlData() const{ return m_crlData; }
76 inline bool CrlDataHasBeenSet() const { return m_crlDataHasBeenSet; }
77 inline void SetCrlData(const Aws::Utils::ByteBuffer& value) { m_crlDataHasBeenSet = true; m_crlData = value; }
78 inline void SetCrlData(Aws::Utils::ByteBuffer&& value) { m_crlDataHasBeenSet = true; m_crlData = std::move(value); }
79 inline CrlDetail& WithCrlData(const Aws::Utils::ByteBuffer& value) { SetCrlData(value); return *this;}
80 inline CrlDetail& WithCrlData(Aws::Utils::ByteBuffer&& value) { SetCrlData(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetCrlId() const{ return m_crlId; }
88 inline bool CrlIdHasBeenSet() const { return m_crlIdHasBeenSet; }
89 inline void SetCrlId(const Aws::String& value) { m_crlIdHasBeenSet = true; m_crlId = value; }
90 inline void SetCrlId(Aws::String&& value) { m_crlIdHasBeenSet = true; m_crlId = std::move(value); }
91 inline void SetCrlId(const char* value) { m_crlIdHasBeenSet = true; m_crlId.assign(value); }
92 inline CrlDetail& WithCrlId(const Aws::String& value) { SetCrlId(value); return *this;}
93 inline CrlDetail& WithCrlId(Aws::String&& value) { SetCrlId(std::move(value)); return *this;}
94 inline CrlDetail& WithCrlId(const char* value) { SetCrlId(value); return *this;}
96
98
101 inline bool GetEnabled() const{ return m_enabled; }
102 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
103 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
104 inline CrlDetail& WithEnabled(bool value) { SetEnabled(value); return *this;}
106
108
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
114 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
115 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 inline CrlDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
117 inline CrlDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 inline CrlDetail& WithName(const char* value) { SetName(value); return *this;}
120
122
126 inline const Aws::String& GetTrustAnchorArn() const{ return m_trustAnchorArn; }
127 inline bool TrustAnchorArnHasBeenSet() const { return m_trustAnchorArnHasBeenSet; }
128 inline void SetTrustAnchorArn(const Aws::String& value) { m_trustAnchorArnHasBeenSet = true; m_trustAnchorArn = value; }
129 inline void SetTrustAnchorArn(Aws::String&& value) { m_trustAnchorArnHasBeenSet = true; m_trustAnchorArn = std::move(value); }
130 inline void SetTrustAnchorArn(const char* value) { m_trustAnchorArnHasBeenSet = true; m_trustAnchorArn.assign(value); }
131 inline CrlDetail& WithTrustAnchorArn(const Aws::String& value) { SetTrustAnchorArn(value); return *this;}
132 inline CrlDetail& WithTrustAnchorArn(Aws::String&& value) { SetTrustAnchorArn(std::move(value)); return *this;}
133 inline CrlDetail& WithTrustAnchorArn(const char* value) { SetTrustAnchorArn(value); return *this;}
135
137
141 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
142 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
143 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
144 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
145 inline CrlDetail& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
146 inline CrlDetail& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
148 private:
149
150 Aws::Utils::DateTime m_createdAt;
151 bool m_createdAtHasBeenSet = false;
152
153 Aws::String m_crlArn;
154 bool m_crlArnHasBeenSet = false;
155
156 Aws::Utils::ByteBuffer m_crlData;
157 bool m_crlDataHasBeenSet = false;
158
159 Aws::String m_crlId;
160 bool m_crlIdHasBeenSet = false;
161
162 bool m_enabled;
163 bool m_enabledHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_trustAnchorArn;
169 bool m_trustAnchorArnHasBeenSet = false;
170
171 Aws::Utils::DateTime m_updatedAt;
172 bool m_updatedAtHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace RolesAnywhere
177} // namespace Aws
void SetCrlId(Aws::String &&value)
Definition CrlDetail.h:90
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition CrlDetail.h:143
const Aws::Utils::DateTime & GetCreatedAt() const
Definition CrlDetail.h:48
CrlDetail & WithTrustAnchorArn(const Aws::String &value)
Definition CrlDetail.h:131
CrlDetail & WithCrlArn(const Aws::String &value)
Definition CrlDetail.h:65
CrlDetail & WithCrlData(const Aws::Utils::ByteBuffer &value)
Definition CrlDetail.h:79
CrlDetail & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition CrlDetail.h:145
CrlDetail & WithName(Aws::String &&value)
Definition CrlDetail.h:117
CrlDetail & WithTrustAnchorArn(Aws::String &&value)
Definition CrlDetail.h:132
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition CrlDetail.h:50
const Aws::Utils::ByteBuffer & GetCrlData() const
Definition CrlDetail.h:75
CrlDetail & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition CrlDetail.h:146
CrlDetail & WithEnabled(bool value)
Definition CrlDetail.h:104
CrlDetail & WithCrlArn(Aws::String &&value)
Definition CrlDetail.h:66
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition CrlDetail.h:144
void SetTrustAnchorArn(const char *value)
Definition CrlDetail.h:130
const Aws::String & GetCrlArn() const
Definition CrlDetail.h:60
void SetCrlData(const Aws::Utils::ByteBuffer &value)
Definition CrlDetail.h:77
void SetCrlArn(const Aws::String &value)
Definition CrlDetail.h:62
CrlDetail & WithCrlId(const Aws::String &value)
Definition CrlDetail.h:92
void SetTrustAnchorArn(const Aws::String &value)
Definition CrlDetail.h:128
CrlDetail & WithCrlData(Aws::Utils::ByteBuffer &&value)
Definition CrlDetail.h:80
void SetCrlId(const Aws::String &value)
Definition CrlDetail.h:89
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition CrlDetail.h:51
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
CrlDetail & WithName(const Aws::String &value)
Definition CrlDetail.h:116
CrlDetail & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition CrlDetail.h:53
const Aws::String & GetName() const
Definition CrlDetail.h:111
const Aws::String & GetTrustAnchorArn() const
Definition CrlDetail.h:126
AWS_ROLESANYWHERE_API CrlDetail(Aws::Utils::Json::JsonView jsonValue)
CrlDetail & WithCrlId(const char *value)
Definition CrlDetail.h:94
CrlDetail & WithCrlArn(const char *value)
Definition CrlDetail.h:67
CrlDetail & WithCrlId(Aws::String &&value)
Definition CrlDetail.h:93
CrlDetail & WithTrustAnchorArn(const char *value)
Definition CrlDetail.h:133
AWS_ROLESANYWHERE_API CrlDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCrlId() const
Definition CrlDetail.h:87
CrlDetail & WithName(const char *value)
Definition CrlDetail.h:118
void SetName(Aws::String &&value)
Definition CrlDetail.h:114
CrlDetail & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition CrlDetail.h:52
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition CrlDetail.h:141
void SetTrustAnchorArn(Aws::String &&value)
Definition CrlDetail.h:129
void SetName(const Aws::String &value)
Definition CrlDetail.h:113
void SetCrlArn(Aws::String &&value)
Definition CrlDetail.h:63
void SetCrlId(const char *value)
Definition CrlDetail.h:91
void SetCrlArn(const char *value)
Definition CrlDetail.h:64
void SetName(const char *value)
Definition CrlDetail.h:115
AWS_ROLESANYWHERE_API CrlDetail()
void SetCrlData(Aws::Utils::ByteBuffer &&value)
Definition CrlDetail.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue