7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/health/Health_EXPORTS.h>
43 template <
typename LifecycleEventTypeT = Aws::String>
45 m_lifecycleEventTypeHasBeenSet =
true;
46 m_lifecycleEventType = std::forward<LifecycleEventTypeT>(value);
48 template <
typename LifecycleEventTypeT = Aws::String>
61 template <
typename DateT = Aws::Utils::DateTime>
63 m_dateHasBeenSet =
true;
64 m_date = std::forward<DateT>(value);
66 template <
typename DateT = Aws::Utils::DateTime>
68 SetDate(std::forward<DateT>(value));
79 template <
typename RegionsT = Aws::Vector<Aws::String>>
81 m_regionsHasBeenSet =
true;
82 m_regions = std::forward<RegionsT>(value);
84 template <
typename RegionsT = Aws::Vector<Aws::String>>
89 template <
typename RegionsT = Aws::String>
91 m_regionsHasBeenSet =
true;
92 m_regions.emplace_back(std::forward<RegionsT>(value));
103 template <
typename ImpactRisksT = Aws::Vector<Aws::String>>
105 m_impactRisksHasBeenSet =
true;
106 m_impactRisks = std::forward<ImpactRisksT>(value);
108 template <
typename ImpactRisksT = Aws::Vector<Aws::String>>
113 template <
typename ImpactRisksT = Aws::String>
115 m_impactRisksHasBeenSet =
true;
116 m_impactRisks.emplace_back(std::forward<ImpactRisksT>(value));
127 template <
typename DescriptionT = Aws::String>
129 m_descriptionHasBeenSet =
true;
130 m_description = std::forward<DescriptionT>(value);
132 template <
typename DescriptionT = Aws::String>
148 bool m_lifecycleEventTypeHasBeenSet =
false;
149 bool m_dateHasBeenSet =
false;
150 bool m_regionsHasBeenSet =
false;
151 bool m_impactRisksHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
bool RegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
LifecycleEvent & WithImpactRisks(ImpactRisksT &&value)
AWS_HEALTH_API LifecycleEvent(Aws::Utils::Json::JsonView jsonValue)
void SetRegions(RegionsT &&value)
AWS_HEALTH_API LifecycleEvent()=default
LifecycleEvent & AddRegions(RegionsT &&value)
void SetDate(DateT &&value)
const Aws::Utils::DateTime & GetDate() const
bool LifecycleEventTypeHasBeenSet() const
AWS_HEALTH_API LifecycleEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImpactRisks(ImpactRisksT &&value)
void SetDescription(DescriptionT &&value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
LifecycleEvent & WithLifecycleEventType(LifecycleEventTypeT &&value)
const Aws::Vector< Aws::String > & GetImpactRisks() const
LifecycleEvent & AddImpactRisks(ImpactRisksT &&value)
void SetLifecycleEventType(LifecycleEventTypeT &&value)
LifecycleEvent & WithDate(DateT &&value)
LifecycleEvent & WithRegions(RegionsT &&value)
LifecycleEvent & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool DateHasBeenSet() const
bool DescriptionHasBeenSet() const
bool ImpactRisksHasBeenSet() const
const Aws::String & GetLifecycleEventType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue