7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/health/Health_EXPORTS.h>
10#include <aws/health/model/LifecycleEvent.h>
44 template <
typename ServiceT = Aws::String>
46 m_serviceHasBeenSet =
true;
47 m_service = std::forward<ServiceT>(value);
49 template <
typename ServiceT = Aws::String>
62 template <
typename VersionT = Aws::String>
64 m_versionHasBeenSet =
true;
65 m_version = std::forward<VersionT>(value);
67 template <
typename VersionT = Aws::String>
80 template <
typename TitleT = Aws::String>
82 m_titleHasBeenSet =
true;
83 m_title = std::forward<TitleT>(value);
85 template <
typename TitleT = Aws::String>
87 SetTitle(std::forward<TitleT>(value));
98 template <
typename RecommendedVersionT = Aws::String>
100 m_recommendedVersionHasBeenSet =
true;
101 m_recommendedVersion = std::forward<RecommendedVersionT>(value);
103 template <
typename RecommendedVersionT = Aws::String>
116 template <
typename LifecycleEventsT = Aws::Vector<LifecycleEvent>>
118 m_lifecycleEventsHasBeenSet =
true;
119 m_lifecycleEvents = std::forward<LifecycleEventsT>(value);
121 template <
typename LifecycleEventsT = Aws::Vector<LifecycleEvent>>
126 template <
typename LifecycleEventsT = LifecycleEvent>
128 m_lifecycleEventsHasBeenSet =
true;
129 m_lifecycleEvents.emplace_back(std::forward<LifecycleEventsT>(value));
143 bool m_serviceHasBeenSet =
false;
144 bool m_versionHasBeenSet =
false;
145 bool m_titleHasBeenSet =
false;
146 bool m_recommendedVersionHasBeenSet =
false;
147 bool m_lifecycleEventsHasBeenSet =
false;
ServiceLifecycle & WithService(ServiceT &&value)
ServiceLifecycle & WithRecommendedVersion(RecommendedVersionT &&value)
void SetRecommendedVersion(RecommendedVersionT &&value)
bool TitleHasBeenSet() const
ServiceLifecycle & AddLifecycleEvents(LifecycleEventsT &&value)
bool LifecycleEventsHasBeenSet() const
void SetTitle(TitleT &&value)
bool RecommendedVersionHasBeenSet() const
bool ServiceHasBeenSet() const
bool VersionHasBeenSet() const
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLifecycle & WithVersion(VersionT &&value)
void SetLifecycleEvents(LifecycleEventsT &&value)
ServiceLifecycle & WithLifecycleEvents(LifecycleEventsT &&value)
AWS_HEALTH_API ServiceLifecycle()=default
const Aws::Vector< LifecycleEvent > & GetLifecycleEvents() const
void SetService(ServiceT &&value)
AWS_HEALTH_API ServiceLifecycle(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
const Aws::String & GetService() const
const Aws::String & GetTitle() const
AWS_HEALTH_API ServiceLifecycle & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRecommendedVersion() const
void SetVersion(VersionT &&value)
ServiceLifecycle & WithTitle(TitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue