7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9#include <aws/observabilityadmin/model/CentralizationFailureReason.h>
10#include <aws/observabilityadmin/model/RuleHealth.h>
21namespace ObservabilityAdmin {
43 template <
typename RuleNameT = Aws::String>
45 m_ruleNameHasBeenSet =
true;
46 m_ruleName = std::forward<RuleNameT>(value);
48 template <
typename RuleNameT = Aws::String>
61 template <
typename RuleArnT = Aws::String>
63 m_ruleArnHasBeenSet =
true;
64 m_ruleArn = std::forward<RuleArnT>(value);
66 template <
typename RuleArnT = Aws::String>
80 template <
typename CreatorAccountIdT = Aws::String>
82 m_creatorAccountIdHasBeenSet =
true;
83 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
85 template <
typename CreatorAccountIdT = Aws::String>
99 m_createdTimeStampHasBeenSet =
true;
100 m_createdTimeStamp = value;
115 template <
typename CreatedRegionT = Aws::String>
117 m_createdRegionHasBeenSet =
true;
118 m_createdRegion = std::forward<CreatedRegionT>(value);
120 template <
typename CreatedRegionT = Aws::String>
134 m_lastUpdateTimeStampHasBeenSet =
true;
135 m_lastUpdateTimeStamp = value;
150 m_ruleHealthHasBeenSet =
true;
151 m_ruleHealth = value;
166 m_failureReasonHasBeenSet =
true;
167 m_failureReason = value;
181 template <
typename DestinationAccountIdT = Aws::String>
183 m_destinationAccountIdHasBeenSet =
true;
184 m_destinationAccountId = std::forward<DestinationAccountIdT>(value);
186 template <
typename DestinationAccountIdT = Aws::String>
199 template <
typename DestinationRegionT = Aws::String>
201 m_destinationRegionHasBeenSet =
true;
202 m_destinationRegion = std::forward<DestinationRegionT>(value);
204 template <
typename DestinationRegionT = Aws::String>
217 long long m_createdTimeStamp{0};
221 long long m_lastUpdateTimeStamp{0};
230 bool m_ruleNameHasBeenSet =
false;
231 bool m_ruleArnHasBeenSet =
false;
232 bool m_creatorAccountIdHasBeenSet =
false;
233 bool m_createdTimeStampHasBeenSet =
false;
234 bool m_createdRegionHasBeenSet =
false;
235 bool m_lastUpdateTimeStampHasBeenSet =
false;
236 bool m_ruleHealthHasBeenSet =
false;
237 bool m_failureReasonHasBeenSet =
false;
238 bool m_destinationAccountIdHasBeenSet =
false;
239 bool m_destinationRegionHasBeenSet =
false;
void SetFailureReason(CentralizationFailureReason value)
void SetCreatedRegion(CreatedRegionT &&value)
const Aws::String & GetDestinationRegion() const
CentralizationRuleSummary & WithRuleName(RuleNameT &&value)
RuleHealth GetRuleHealth() const
void SetCreatedTimeStamp(long long value)
CentralizationRuleSummary & WithFailureReason(CentralizationFailureReason value)
bool LastUpdateTimeStampHasBeenSet() const
bool FailureReasonHasBeenSet() const
void SetDestinationRegion(DestinationRegionT &&value)
void SetDestinationAccountId(DestinationAccountIdT &&value)
CentralizationRuleSummary & WithCreatorAccountId(CreatorAccountIdT &&value)
CentralizationRuleSummary & WithDestinationRegion(DestinationRegionT &&value)
bool DestinationAccountIdHasBeenSet() const
bool DestinationRegionHasBeenSet() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleNameHasBeenSet() const
bool RuleArnHasBeenSet() const
const Aws::String & GetCreatorAccountId() const
long long GetLastUpdateTimeStamp() const
void SetRuleHealth(RuleHealth value)
CentralizationRuleSummary & WithLastUpdateTimeStamp(long long value)
bool RuleHealthHasBeenSet() const
const Aws::String & GetCreatedRegion() const
CentralizationRuleSummary & WithCreatedTimeStamp(long long value)
AWS_OBSERVABILITYADMIN_API CentralizationRuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CentralizationRuleSummary & WithCreatedRegion(CreatedRegionT &&value)
CentralizationRuleSummary & WithRuleHealth(RuleHealth value)
bool CreatedTimeStampHasBeenSet() const
CentralizationFailureReason GetFailureReason() const
CentralizationRuleSummary & WithRuleArn(RuleArnT &&value)
const Aws::String & GetRuleName() const
bool CreatedRegionHasBeenSet() const
long long GetCreatedTimeStamp() const
void SetCreatorAccountId(CreatorAccountIdT &&value)
void SetRuleName(RuleNameT &&value)
void SetRuleArn(RuleArnT &&value)
bool CreatorAccountIdHasBeenSet() const
const Aws::String & GetRuleArn() const
AWS_OBSERVABILITYADMIN_API CentralizationRuleSummary()=default
CentralizationRuleSummary & WithDestinationAccountId(DestinationAccountIdT &&value)
void SetLastUpdateTimeStamp(long long value)
const Aws::String & GetDestinationAccountId() const
AWS_OBSERVABILITYADMIN_API CentralizationRuleSummary(Aws::Utils::Json::JsonView jsonValue)
CentralizationFailureReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue