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>
56 inline void SetEntityArn(
const char* value) { m_entityArnHasBeenSet =
true; m_entityArn.assign(value); }
75 inline void SetEventArn(
const char* value) { m_eventArnHasBeenSet =
true; m_eventArn.assign(value); }
89 inline void SetEntityValue(
const char* value) { m_entityValueHasBeenSet =
true; m_entityValue.assign(value); }
103 inline void SetEntityUrl(
const char* value) { m_entityUrlHasBeenSet =
true; m_entityUrl.assign(value); }
118 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
167 inline AffectedEntity&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
172 bool m_entityArnHasBeenSet =
false;
175 bool m_eventArnHasBeenSet =
false;
178 bool m_entityValueHasBeenSet =
false;
181 bool m_entityUrlHasBeenSet =
false;
184 bool m_awsAccountIdHasBeenSet =
false;
187 bool m_lastUpdatedTimeHasBeenSet =
false;
190 bool m_statusCodeHasBeenSet =
false;
193 bool m_tagsHasBeenSet =
false;
AWS_HEALTH_API AffectedEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEntityUrl(Aws::String &&value)
AffectedEntity & AddTags(const char *key, Aws::String &&value)
void SetStatusCode(const EntityStatusCode &value)
bool EntityValueHasBeenSet() const
AWS_HEALTH_API AffectedEntity(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AffectedEntity & WithEntityValue(Aws::String &&value)
void SetEntityUrl(const char *value)
bool EntityUrlHasBeenSet() const
AffectedEntity & WithEventArn(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEntityArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AffectedEntity & WithStatusCode(const EntityStatusCode &value)
void SetEventArn(const Aws::String &value)
bool EventArnHasBeenSet() const
const Aws::String & GetAwsAccountId() const
AWS_HEALTH_API AffectedEntity()
AffectedEntity & AddTags(const Aws::String &key, Aws::String &&value)
AffectedEntity & AddTags(Aws::String &&key, const Aws::String &value)
void SetEntityArn(Aws::String &&value)
AffectedEntity & WithAwsAccountId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AffectedEntity & WithEntityValue(const char *value)
void SetEntityArn(const char *value)
AffectedEntity & WithEntityUrl(const Aws::String &value)
AffectedEntity & AddTags(const Aws::String &key, const Aws::String &value)
AffectedEntity & WithEntityValue(const Aws::String &value)
const Aws::String & GetEntityValue() const
const Aws::String & GetEntityArn() const
bool EntityArnHasBeenSet() const
AffectedEntity & WithEntityArn(const char *value)
void SetStatusCode(EntityStatusCode &&value)
bool AwsAccountIdHasBeenSet() const
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AffectedEntity & WithEntityArn(Aws::String &&value)
bool TagsHasBeenSet() const
AffectedEntity & WithEntityUrl(Aws::String &&value)
AffectedEntity & AddTags(Aws::String &&key, const char *value)
AffectedEntity & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetEntityValue(const char *value)
AffectedEntity & AddTags(Aws::String &&key, Aws::String &&value)
void SetAwsAccountId(const char *value)
AffectedEntity & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetEntityUrl(const Aws::String &value)
AffectedEntity & WithEntityUrl(const char *value)
AffectedEntity & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const EntityStatusCode & GetStatusCode() const
const Aws::String & GetEventArn() const
AffectedEntity & AddTags(const char *key, const char *value)
void SetAwsAccountId(const Aws::String &value)
AffectedEntity & WithAwsAccountId(const char *value)
bool LastUpdatedTimeHasBeenSet() const
AffectedEntity & WithEntityArn(const Aws::String &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
AffectedEntity & WithEventArn(const Aws::String &value)
void SetAwsAccountId(Aws::String &&value)
AffectedEntity & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool StatusCodeHasBeenSet() const
void SetEventArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AffectedEntity & WithAwsAccountId(Aws::String &&value)
AffectedEntity & WithEventArn(Aws::String &&value)
AffectedEntity & WithStatusCode(EntityStatusCode &&value)
const Aws::String & GetEntityUrl() const
void SetEventArn(Aws::String &&value)
void SetEntityValue(const Aws::String &value)
void SetEntityValue(Aws::String &&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