7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace RolesAnywhere
49 inline void SetFailed(
bool value) { m_failedHasBeenSet =
true; m_failed = value; }
59 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
60 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
61 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
63 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
65 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
76 template<
typename SeenAtT = Aws::Utils::DateTime>
77 void SetSeenAt(SeenAtT&& value) { m_seenAtHasBeenSet =
true; m_seenAt = std::forward<SeenAtT>(value); }
78 template<
typename SeenAtT = Aws::Utils::DateTime>
84 bool m_failedHasBeenSet =
false;
87 bool m_propertiesHasBeenSet =
false;
90 bool m_seenAtHasBeenSet =
false;
InstanceProperty & WithFailed(bool value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
void SetFailed(bool value)
InstanceProperty & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool PropertiesHasBeenSet() const
AWS_ROLESANYWHERE_API InstanceProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProperties(PropertiesT &&value)
void SetSeenAt(SeenAtT &&value)
bool SeenAtHasBeenSet() const
InstanceProperty & WithProperties(PropertiesT &&value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetSeenAt() const
InstanceProperty & WithSeenAt(SeenAtT &&value)
AWS_ROLESANYWHERE_API InstanceProperty()=default
bool FailedHasBeenSet() const
AWS_ROLESANYWHERE_API InstanceProperty(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue