7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/PolicyEventMetadata.h>
20namespace resiliencehubv2 {
42 template <
typename TitleT = Aws::String>
44 m_titleHasBeenSet =
true;
45 m_title = std::forward<TitleT>(value);
47 template <
typename TitleT = Aws::String>
49 SetTitle(std::forward<TitleT>(value));
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
79 template <
typename EventMetadataT = PolicyEventMetadata>
81 m_eventMetadataHasBeenSet =
true;
82 m_eventMetadata = std::forward<EventMetadataT>(value);
84 template <
typename EventMetadataT = PolicyEventMetadata>
96 bool m_titleHasBeenSet =
false;
97 bool m_descriptionHasBeenSet =
false;
98 bool m_eventMetadataHasBeenSet =
false;
void SetTitle(TitleT &&value)
AWS_RESILIENCEHUBV2_API PolicyEventDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
PolicyEventDetails & WithEventMetadata(EventMetadataT &&value)
void SetDescription(DescriptionT &&value)
const PolicyEventMetadata & GetEventMetadata() const
bool TitleHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_RESILIENCEHUBV2_API PolicyEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyEventDetails & WithDescription(DescriptionT &&value)
const Aws::String & GetTitle() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventMetadataHasBeenSet() const
void SetEventMetadata(EventMetadataT &&value)
AWS_RESILIENCEHUBV2_API PolicyEventDetails()=default
PolicyEventDetails & WithTitle(TitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue