7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
11#include <aws/rolesanywhere/model/NotificationSettingDetail.h>
12#include <aws/rolesanywhere/model/Source.h>
23namespace RolesAnywhere {
45 template <
typename TrustAnchorIdT = Aws::String>
47 m_trustAnchorIdHasBeenSet =
true;
48 m_trustAnchorId = std::forward<TrustAnchorIdT>(value);
50 template <
typename TrustAnchorIdT = Aws::String>
63 template <
typename TrustAnchorArnT = Aws::String>
65 m_trustAnchorArnHasBeenSet =
true;
66 m_trustAnchorArn = std::forward<TrustAnchorArnT>(value);
68 template <
typename TrustAnchorArnT = Aws::String>
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
99 template <
typename SourceT = Source>
101 m_sourceHasBeenSet =
true;
102 m_source = std::forward<SourceT>(value);
104 template <
typename SourceT = Source>
118 m_enabledHasBeenSet =
true;
133 template <
typename CreatedAtT = Aws::Utils::DateTime>
135 m_createdAtHasBeenSet =
true;
136 m_createdAt = std::forward<CreatedAtT>(value);
138 template <
typename CreatedAtT = Aws::Utils::DateTime>
151 template <
typename UpdatedAtT = Aws::Utils::DateTime>
153 m_updatedAtHasBeenSet =
true;
154 m_updatedAt = std::forward<UpdatedAtT>(value);
156 template <
typename UpdatedAtT = Aws::Utils::DateTime>
169 template <
typename NotificationSettingsT = Aws::Vector<NotificationSettingDetail>>
171 m_notificationSettingsHasBeenSet =
true;
172 m_notificationSettings = std::forward<NotificationSettingsT>(value);
174 template <
typename NotificationSettingsT = Aws::Vector<NotificationSettingDetail>>
179 template <
typename NotificationSettingsT = NotificationSettingDetail>
181 m_notificationSettingsHasBeenSet =
true;
182 m_notificationSettings.emplace_back(std::forward<NotificationSettingsT>(value));
195 bool m_enabled{
false};
202 bool m_trustAnchorIdHasBeenSet =
false;
203 bool m_trustAnchorArnHasBeenSet =
false;
204 bool m_nameHasBeenSet =
false;
205 bool m_sourceHasBeenSet =
false;
206 bool m_enabledHasBeenSet =
false;
207 bool m_createdAtHasBeenSet =
false;
208 bool m_updatedAtHasBeenSet =
false;
209 bool m_notificationSettingsHasBeenSet =
false;
const Aws::String & GetTrustAnchorArn() const
TrustAnchorDetail & WithEnabled(bool value)
bool TrustAnchorIdHasBeenSet() const
const Aws::String & GetName() const
TrustAnchorDetail & WithCreatedAt(CreatedAtT &&value)
AWS_ROLESANYWHERE_API TrustAnchorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Source & GetSource() const
TrustAnchorDetail & WithName(NameT &&value)
TrustAnchorDetail & WithNotificationSettings(NotificationSettingsT &&value)
bool CreatedAtHasBeenSet() const
AWS_ROLESANYWHERE_API TrustAnchorDetail(Aws::Utils::Json::JsonView jsonValue)
void SetNotificationSettings(NotificationSettingsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSource(SourceT &&value)
TrustAnchorDetail & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
TrustAnchorDetail & WithSource(SourceT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool NameHasBeenSet() const
bool NotificationSettingsHasBeenSet() const
TrustAnchorDetail & AddNotificationSettings(NotificationSettingsT &&value)
TrustAnchorDetail & WithTrustAnchorArn(TrustAnchorArnT &&value)
bool TrustAnchorArnHasBeenSet() const
const Aws::String & GetTrustAnchorId() const
bool SourceHasBeenSet() const
void SetTrustAnchorArn(TrustAnchorArnT &&value)
const Aws::Vector< NotificationSettingDetail > & GetNotificationSettings() const
void SetTrustAnchorId(TrustAnchorIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetEnabled(bool value)
bool EnabledHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetName(NameT &&value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROLESANYWHERE_API TrustAnchorDetail()=default
TrustAnchorDetail & WithTrustAnchorId(TrustAnchorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue