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/memory/stl/AWSVector.h>
11#include <aws/rolesanywhere/model/Source.h>
12#include <aws/rolesanywhere/model/NotificationSettingDetail.h>
25namespace RolesAnywhere
51 template<
typename CreatedAtT = Aws::Utils::DateTime>
52 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
53 template<
typename CreatedAtT = Aws::Utils::DateTime>
63 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
85 template<
typename NotificationSettingsT = Aws::Vector<NotificationSettingDetail>>
86 void SetNotificationSettings(NotificationSettingsT&& value) { m_notificationSettingsHasBeenSet =
true; m_notificationSettings = std::forward<NotificationSettingsT>(value); }
87 template<
typename NotificationSettingsT = Aws::Vector<NotificationSettingDetail>>
89 template<
typename NotificationSettingsT = NotificationSettingDetail>
90 TrustAnchorDetail&
AddNotificationSettings(NotificationSettingsT&& value) { m_notificationSettingsHasBeenSet =
true; m_notificationSettings.emplace_back(std::forward<NotificationSettingsT>(value));
return *
this; }
99 template<
typename SourceT = Source>
100 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
101 template<
typename SourceT = Source>
111 template<
typename TrustAnchorArnT = Aws::String>
112 void SetTrustAnchorArn(TrustAnchorArnT&& value) { m_trustAnchorArnHasBeenSet =
true; m_trustAnchorArn = std::forward<TrustAnchorArnT>(value); }
113 template<
typename TrustAnchorArnT = Aws::String>
123 template<
typename TrustAnchorIdT = Aws::String>
124 void SetTrustAnchorId(TrustAnchorIdT&& value) { m_trustAnchorIdHasBeenSet =
true; m_trustAnchorId = std::forward<TrustAnchorIdT>(value); }
125 template<
typename TrustAnchorIdT = Aws::String>
135 template<
typename UpdatedAtT = Aws::Utils::DateTime>
136 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
137 template<
typename UpdatedAtT = Aws::Utils::DateTime>
143 bool m_createdAtHasBeenSet =
false;
145 bool m_enabled{
false};
146 bool m_enabledHasBeenSet =
false;
149 bool m_nameHasBeenSet =
false;
152 bool m_notificationSettingsHasBeenSet =
false;
155 bool m_sourceHasBeenSet =
false;
158 bool m_trustAnchorArnHasBeenSet =
false;
161 bool m_trustAnchorIdHasBeenSet =
false;
164 bool m_updatedAtHasBeenSet =
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