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
63 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
75 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
101 inline void SetSource(
const Source& value) { m_sourceHasBeenSet =
true; m_source = value; }
102 inline void SetSource(
Source&& value) { m_sourceHasBeenSet =
true; m_source = std::move(value); }
115 inline void SetTrustAnchorArn(
const char* value) { m_trustAnchorArnHasBeenSet =
true; m_trustAnchorArn.assign(value); }
129 inline void SetTrustAnchorId(
const char* value) { m_trustAnchorIdHasBeenSet =
true; m_trustAnchorId.assign(value); }
149 bool m_createdAtHasBeenSet =
false;
152 bool m_enabledHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
158 bool m_notificationSettingsHasBeenSet =
false;
161 bool m_sourceHasBeenSet =
false;
164 bool m_trustAnchorArnHasBeenSet =
false;
167 bool m_trustAnchorIdHasBeenSet =
false;
170 bool m_updatedAtHasBeenSet =
false;
const Aws::String & GetTrustAnchorArn() const
TrustAnchorDetail & WithEnabled(bool value)
TrustAnchorDetail & WithNotificationSettings(const Aws::Vector< NotificationSettingDetail > &value)
bool TrustAnchorIdHasBeenSet() const
const Aws::String & GetName() const
TrustAnchorDetail & WithTrustAnchorArn(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_ROLESANYWHERE_API TrustAnchorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Source & GetSource() const
void SetSource(Source &&value)
TrustAnchorDetail & WithTrustAnchorId(const Aws::String &value)
void SetSource(const Source &value)
TrustAnchorDetail & WithName(const char *value)
void SetTrustAnchorId(Aws::String &&value)
TrustAnchorDetail & WithSource(Source &&value)
void SetName(const Aws::String &value)
bool CreatedAtHasBeenSet() const
AWS_ROLESANYWHERE_API TrustAnchorDetail(Aws::Utils::Json::JsonView jsonValue)
TrustAnchorDetail & WithTrustAnchorId(Aws::String &&value)
TrustAnchorDetail & WithSource(const Source &value)
void SetName(const char *value)
TrustAnchorDetail & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetTrustAnchorArn(const Aws::String &value)
void SetTrustAnchorId(const char *value)
void SetNotificationSettings(const Aws::Vector< NotificationSettingDetail > &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
TrustAnchorDetail & WithNotificationSettings(Aws::Vector< NotificationSettingDetail > &&value)
AWS_ROLESANYWHERE_API TrustAnchorDetail()
void SetName(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
TrustAnchorDetail & WithName(const Aws::String &value)
TrustAnchorDetail & WithTrustAnchorId(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
TrustAnchorDetail & WithTrustAnchorArn(const char *value)
TrustAnchorDetail & AddNotificationSettings(const NotificationSettingDetail &value)
void SetTrustAnchorArn(Aws::String &&value)
bool NameHasBeenSet() const
bool NotificationSettingsHasBeenSet() const
TrustAnchorDetail & AddNotificationSettings(NotificationSettingDetail &&value)
void SetTrustAnchorArn(const char *value)
bool TrustAnchorArnHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetTrustAnchorId() const
bool SourceHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
TrustAnchorDetail & WithCreatedAt(const Aws::Utils::DateTime &value)
TrustAnchorDetail & WithName(Aws::String &&value)
const Aws::Vector< NotificationSettingDetail > & GetNotificationSettings() const
TrustAnchorDetail & WithUpdatedAt(Aws::Utils::DateTime &&value)
TrustAnchorDetail & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetEnabled(bool value)
void SetTrustAnchorId(const Aws::String &value)
bool EnabledHasBeenSet() const
bool UpdatedAtHasBeenSet() const
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
TrustAnchorDetail & WithTrustAnchorArn(const Aws::String &value)
void SetNotificationSettings(Aws::Vector< NotificationSettingDetail > &&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