7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/RecoveryPlanStatus.h>
42 template <
typename RecoveryPlanArnT = Aws::String>
44 m_recoveryPlanArnHasBeenSet =
true;
45 m_recoveryPlanArn = std::forward<RecoveryPlanArnT>(value);
47 template <
typename RecoveryPlanArnT = Aws::String>
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
93 m_statusHasBeenSet =
true;
108 template <
typename CreatedAtT = Aws::String>
110 m_createdAtHasBeenSet =
true;
111 m_createdAt = std::forward<CreatedAtT>(value);
113 template <
typename CreatedAtT = Aws::String>
126 template <
typename UpdatedAtT = Aws::String>
128 m_updatedAtHasBeenSet =
true;
129 m_updatedAt = std::forward<UpdatedAtT>(value);
131 template <
typename UpdatedAtT = Aws::String>
144 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 m_tagsHasBeenSet =
true;
147 m_tags = std::forward<TagsT>(value);
149 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 SetTags(std::forward<TagsT>(value));
154 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
156 m_tagsHasBeenSet =
true;
157 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 bool m_recoveryPlanArnHasBeenSet =
false;
176 bool m_nameHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
178 bool m_statusHasBeenSet =
false;
179 bool m_createdAtHasBeenSet =
false;
180 bool m_updatedAtHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
void SetStatus(RecoveryPlanStatus value)
AWS_DRS_API RecoveryPlan(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlan & WithCreatedAt(CreatedAtT &&value)
bool NameHasBeenSet() const
AWS_DRS_API RecoveryPlan()=default
bool StatusHasBeenSet() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPlan & WithUpdatedAt(UpdatedAtT &&value)
RecoveryPlan & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetName() const
RecoveryPlan & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_DRS_API RecoveryPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlan & WithName(NameT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
RecoveryPlanStatus GetStatus() const
bool TagsHasBeenSet() const
void SetRecoveryPlanArn(RecoveryPlanArnT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetCreatedAt() const
bool DescriptionHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
RecoveryPlan & WithRecoveryPlanArn(RecoveryPlanArnT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetRecoveryPlanArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RecoveryPlan & WithDescription(DescriptionT &&value)
bool UpdatedAtHasBeenSet() const
bool RecoveryPlanArnHasBeenSet() const
const Aws::String & GetUpdatedAt() const
RecoveryPlan & WithStatus(RecoveryPlanStatus 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