7#include <aws/health/Health_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/health/model/EntityStatusCode.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
54 template<
typename EntityArnT = Aws::String>
55 void SetEntityArn(EntityArnT&& value) { m_entityArnHasBeenSet =
true; m_entityArn = std::forward<EntityArnT>(value); }
56 template<
typename EntityArnT = Aws::String>
71 template<
typename EventArnT = Aws::String>
72 void SetEventArn(EventArnT&& value) { m_eventArnHasBeenSet =
true; m_eventArn = std::forward<EventArnT>(value); }
73 template<
typename EventArnT = Aws::String>
83 template<
typename EntityValueT = Aws::String>
84 void SetEntityValue(EntityValueT&& value) { m_entityValueHasBeenSet =
true; m_entityValue = std::forward<EntityValueT>(value); }
85 template<
typename EntityValueT = Aws::String>
95 template<
typename EntityUrlT = Aws::String>
96 void SetEntityUrl(EntityUrlT&& value) { m_entityUrlHasBeenSet =
true; m_entityUrl = std::forward<EntityUrlT>(value); }
97 template<
typename EntityUrlT = Aws::String>
108 template<
typename AwsAccountIdT = Aws::String>
109 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
110 template<
typename AwsAccountIdT = Aws::String>
120 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
121 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
122 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
151 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
161 template<
typename EntityMetadataT = Aws::Map<Aws::String, Aws::String>>
162 void SetEntityMetadata(EntityMetadataT&& value) { m_entityMetadataHasBeenSet =
true; m_entityMetadata = std::forward<EntityMetadataT>(value); }
163 template<
typename EntityMetadataT = Aws::Map<Aws::String, Aws::String>>
165 template<
typename EntityMetadataKeyT = Aws::String,
typename EntityMetadataValueT = Aws::String>
167 m_entityMetadataHasBeenSet =
true; m_entityMetadata.emplace(std::forward<EntityMetadataKeyT>(key), std::forward<EntityMetadataValueT>(value));
return *
this;
173 bool m_entityArnHasBeenSet =
false;
176 bool m_eventArnHasBeenSet =
false;
179 bool m_entityValueHasBeenSet =
false;
182 bool m_entityUrlHasBeenSet =
false;
185 bool m_awsAccountIdHasBeenSet =
false;
188 bool m_lastUpdatedTimeHasBeenSet =
false;
191 bool m_statusCodeHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
197 bool m_entityMetadataHasBeenSet =
false;
bool EntityMetadataHasBeenSet() const
AffectedEntity & WithTags(TagsT &&value)
AWS_HEALTH_API AffectedEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EntityValueHasBeenSet() const
AWS_HEALTH_API AffectedEntity(Aws::Utils::Json::JsonView jsonValue)
AffectedEntity & WithEntityValue(EntityValueT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
EntityStatusCode GetStatusCode() const
bool EntityUrlHasBeenSet() const
void SetEntityValue(EntityValueT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AffectedEntity & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool EventArnHasBeenSet() const
void SetEventArn(EventArnT &&value)
const Aws::String & GetAwsAccountId() const
const Aws::Map< Aws::String, Aws::String > & GetEntityMetadata() const
AffectedEntity & WithStatusCode(EntityStatusCode value)
void SetEntityUrl(EntityUrlT &&value)
AffectedEntity & WithEventArn(EventArnT &&value)
const Aws::String & GetEntityValue() const
const Aws::String & GetEntityArn() const
void SetEntityMetadata(EntityMetadataT &&value)
bool EntityArnHasBeenSet() const
bool AwsAccountIdHasBeenSet() const
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
bool TagsHasBeenSet() const
AffectedEntity & WithAwsAccountId(AwsAccountIdT &&value)
void SetStatusCode(EntityStatusCode value)
const Aws::String & GetEventArn() const
AffectedEntity & WithEntityArn(EntityArnT &&value)
bool LastUpdatedTimeHasBeenSet() const
void SetEntityArn(EntityArnT &&value)
AffectedEntity & WithEntityUrl(EntityUrlT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
bool StatusCodeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AffectedEntity & WithEntityMetadata(EntityMetadataT &&value)
AffectedEntity & AddEntityMetadata(EntityMetadataKeyT &&key, EntityMetadataValueT &&value)
AffectedEntity & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_HEALTH_API AffectedEntity()=default
const Aws::String & GetEntityUrl() const
void SetTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue