7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/health/Health_EXPORTS.h>
11#include <aws/health/model/EntityStatusCode.h>
48 template <
typename EntityArnT = Aws::String>
50 m_entityArnHasBeenSet =
true;
51 m_entityArn = std::forward<EntityArnT>(value);
53 template <
typename EntityArnT = Aws::String>
71 template <
typename EventArnT = Aws::String>
73 m_eventArnHasBeenSet =
true;
74 m_eventArn = std::forward<EventArnT>(value);
76 template <
typename EventArnT = Aws::String>
89 template <
typename EntityValueT = Aws::String>
91 m_entityValueHasBeenSet =
true;
92 m_entityValue = std::forward<EntityValueT>(value);
94 template <
typename EntityValueT = Aws::String>
107 template <
typename EntityUrlT = Aws::String>
109 m_entityUrlHasBeenSet =
true;
110 m_entityUrl = std::forward<EntityUrlT>(value);
112 template <
typename EntityUrlT = Aws::String>
126 template <
typename AwsAccountIdT = Aws::String>
128 m_awsAccountIdHasBeenSet =
true;
129 m_awsAccountId = std::forward<AwsAccountIdT>(value);
131 template <
typename AwsAccountIdT = Aws::String>
144 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
146 m_lastUpdatedTimeHasBeenSet =
true;
147 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
149 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
165 m_statusCodeHasBeenSet =
true;
166 m_statusCode = value;
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 m_tagsHasBeenSet =
true;
184 m_tags = std::forward<TagsT>(value);
186 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 SetTags(std::forward<TagsT>(value));
191 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
193 m_tagsHasBeenSet =
true;
194 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
205 template <
typename EntityMetadataT = Aws::Map<Aws::String, Aws::String>>
207 m_entityMetadataHasBeenSet =
true;
208 m_entityMetadata = std::forward<EntityMetadataT>(value);
210 template <
typename EntityMetadataT = Aws::Map<Aws::String, Aws::String>>
215 template <
typename EntityMetadataKeyT = Aws::String,
typename EntityMetadataValueT = Aws::String>
217 m_entityMetadataHasBeenSet =
true;
218 m_entityMetadata.emplace(std::forward<EntityMetadataKeyT>(key), std::forward<EntityMetadataValueT>(value));
240 bool m_entityArnHasBeenSet =
false;
241 bool m_eventArnHasBeenSet =
false;
242 bool m_entityValueHasBeenSet =
false;
243 bool m_entityUrlHasBeenSet =
false;
244 bool m_awsAccountIdHasBeenSet =
false;
245 bool m_lastUpdatedTimeHasBeenSet =
false;
246 bool m_statusCodeHasBeenSet =
false;
247 bool m_tagsHasBeenSet =
false;
248 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