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 double 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;
SloSource & WithValue(double value)
AWS_RESILIENCEHUBV2_API SloSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API SloSource()=default
void SetSource(PolicyValueSource value)
const Aws::String & GetPolicyName() const
bool PolicyNameHasBeenSet() const
bool ValueHasBeenSet() const
PolicyValueSource GetSource() const
bool SourceHasBeenSet() const
SloSource & WithPolicyName(PolicyNameT &&value)
SloSource & WithSource(PolicyValueSource value)
AWS_RESILIENCEHUBV2_API SloSource(Aws::Utils::Json::JsonView jsonValue)
void SetValue(double value)
void SetPolicyName(PolicyNameT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue