7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
19namespace ObservabilityAdmin {
44 template <
typename RegionT = Aws::String>
46 m_regionHasBeenSet =
true;
47 m_region = std::forward<RegionT>(value);
49 template <
typename RegionT = Aws::String>
65 template <
typename StatusT = Aws::String>
67 m_statusHasBeenSet =
true;
68 m_status = std::forward<StatusT>(value);
70 template <
typename StatusT = Aws::String>
84 template <
typename FailureReasonT = Aws::String>
86 m_failureReasonHasBeenSet =
true;
87 m_failureReason = std::forward<FailureReasonT>(value);
89 template <
typename FailureReasonT = Aws::String>
105 template <
typename RuleArnT = Aws::String>
107 m_ruleArnHasBeenSet =
true;
108 m_ruleArn = std::forward<RuleArnT>(value);
110 template <
typename RuleArnT = Aws::String>
124 bool m_regionHasBeenSet =
false;
125 bool m_statusHasBeenSet =
false;
126 bool m_failureReasonHasBeenSet =
false;
127 bool m_ruleArnHasBeenSet =
false;
AWS_OBSERVABILITYADMIN_API RegionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API RegionStatus()=default
bool RegionHasBeenSet() const
void SetRuleArn(RuleArnT &&value)
RegionStatus & WithRegion(RegionT &&value)
const Aws::String & GetRegion() const
bool FailureReasonHasBeenSet() const
void SetStatus(StatusT &&value)
RegionStatus & WithRuleArn(RuleArnT &&value)
void SetRegion(RegionT &&value)
AWS_OBSERVABILITYADMIN_API RegionStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
RegionStatus & WithFailureReason(FailureReasonT &&value)
bool RuleArnHasBeenSet() const
const Aws::String & GetRuleArn() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
const Aws::String & GetFailureReason() const
RegionStatus & WithStatus(StatusT &&value)
void SetFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue