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 {
40 inline int GetValue()
const {
return m_value; }
43 m_valueHasBeenSet =
true;
56 template <
typename PolicyNameT = Aws::String>
58 m_policyNameHasBeenSet =
true;
59 m_policyName = std::forward<PolicyNameT>(value);
61 template <
typename PolicyNameT = Aws::String>
76 m_sourceHasBeenSet =
true;
90 bool m_valueHasBeenSet =
false;
91 bool m_policyNameHasBeenSet =
false;
92 bool m_sourceHasBeenSet =
false;
PolicyValueSource GetSource() const
TargetSource & WithValue(int value)
bool ValueHasBeenSet() const
AWS_RESILIENCEHUBV2_API TargetSource()=default
TargetSource & WithSource(PolicyValueSource value)
void SetSource(PolicyValueSource value)
AWS_RESILIENCEHUBV2_API TargetSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPolicyName() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool PolicyNameHasBeenSet() const
TargetSource & WithPolicyName(PolicyNameT &&value)
void SetPolicyName(PolicyNameT &&value)
AWS_RESILIENCEHUBV2_API TargetSource(Aws::Utils::Json::JsonView jsonValue)
bool SourceHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue