7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/PolicyValueSource.h>
20namespace resiliencehubv2 {
42 template <
typename ValueT = Aws::String>
44 m_valueHasBeenSet =
true;
45 m_value = std::forward<ValueT>(value);
47 template <
typename ValueT = Aws::String>
49 SetValue(std::forward<ValueT>(value));
58 template <
typename PolicyNameT = Aws::String>
60 m_policyNameHasBeenSet =
true;
61 m_policyName = std::forward<PolicyNameT>(value);
63 template <
typename PolicyNameT = Aws::String>
78 m_sourceHasBeenSet =
true;
92 bool m_valueHasBeenSet =
false;
93 bool m_policyNameHasBeenSet =
false;
94 bool m_sourceHasBeenSet =
false;
bool SourceHasBeenSet() const
void SetPolicyName(PolicyNameT &&value)
PolicyValueSource GetSource() const
DisasterRecoverySource & WithValue(ValueT &&value)
AWS_RESILIENCEHUBV2_API DisasterRecoverySource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
void SetValue(ValueT &&value)
DisasterRecoverySource & WithPolicyName(PolicyNameT &&value)
AWS_RESILIENCEHUBV2_API DisasterRecoverySource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
DisasterRecoverySource & WithSource(PolicyValueSource value)
AWS_RESILIENCEHUBV2_API DisasterRecoverySource()=default
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSource(PolicyValueSource value)
const Aws::String & GetPolicyName() const
bool PolicyNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue