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>
11#include <aws/observabilityadmin/model/TagPropagationFailureReason.h>
12#include <aws/observabilityadmin/model/TagPropagationStatus.h>
23namespace ObservabilityAdmin {
45 template <
typename RuleNameT = Aws::String>
47 m_ruleNameHasBeenSet =
true;
48 m_ruleName = std::forward<RuleNameT>(value);
50 template <
typename RuleNameT = Aws::String>
63 template <
typename RuleArnT = Aws::String>
65 m_ruleArnHasBeenSet =
true;
66 m_ruleArn = std::forward<RuleArnT>(value);
68 template <
typename RuleArnT = Aws::String>
82 template <
typename CreatorAccountIdT = Aws::String>
84 m_creatorAccountIdHasBeenSet =
true;
85 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
87 template <
typename CreatorAccountIdT = Aws::String>
101 m_createdTimeStampHasBeenSet =
true;
102 m_createdTimeStamp = value;
117 template <
typename CreatedRegionT = Aws::String>
119 m_createdRegionHasBeenSet =
true;
120 m_createdRegion = std::forward<CreatedRegionT>(value);
122 template <
typename CreatedRegionT = Aws::String>
136 m_lastUpdateTimeStampHasBeenSet =
true;
137 m_lastUpdateTimeStamp = value;
152 m_ruleHealthHasBeenSet =
true;
153 m_ruleHealth = value;
168 m_failureReasonHasBeenSet =
true;
169 m_failureReason = value;
187 m_tagPropagationStatusHasBeenSet =
true;
188 m_tagPropagationStatus = value;
204 m_tagPropagationFailureReasonHasBeenSet =
true;
205 m_tagPropagationFailureReason = value;
219 template <
typename DestinationAccountIdT = Aws::String>
221 m_destinationAccountIdHasBeenSet =
true;
222 m_destinationAccountId = std::forward<DestinationAccountIdT>(value);
224 template <
typename DestinationAccountIdT = Aws::String>
237 template <
typename DestinationRegionT = Aws::String>
239 m_destinationRegionHasBeenSet =
true;
240 m_destinationRegion = std::forward<DestinationRegionT>(value);
242 template <
typename DestinationRegionT = Aws::String>
255 long long m_createdTimeStamp{0};
259 long long m_lastUpdateTimeStamp{0};
272 bool m_ruleNameHasBeenSet =
false;
273 bool m_ruleArnHasBeenSet =
false;
274 bool m_creatorAccountIdHasBeenSet =
false;
275 bool m_createdTimeStampHasBeenSet =
false;
276 bool m_createdRegionHasBeenSet =
false;
277 bool m_lastUpdateTimeStampHasBeenSet =
false;
278 bool m_ruleHealthHasBeenSet =
false;
279 bool m_failureReasonHasBeenSet =
false;
280 bool m_tagPropagationStatusHasBeenSet =
false;
281 bool m_tagPropagationFailureReasonHasBeenSet =
false;
282 bool m_destinationAccountIdHasBeenSet =
false;
283 bool m_destinationRegionHasBeenSet =
false;
void SetFailureReason(CentralizationFailureReason value)
CentralizationRuleSummary & WithTagPropagationFailureReason(TagPropagationFailureReason 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)
TagPropagationFailureReason GetTagPropagationFailureReason() const
TagPropagationStatus GetTagPropagationStatus() const
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
bool TagPropagationStatusHasBeenSet() const
CentralizationRuleSummary & WithCreatedTimeStamp(long long value)
CentralizationRuleSummary & WithTagPropagationStatus(TagPropagationStatus value)
void SetTagPropagationStatus(TagPropagationStatus value)
bool TagPropagationFailureReasonHasBeenSet() const
AWS_OBSERVABILITYADMIN_API CentralizationRuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CentralizationRuleSummary & WithCreatedRegion(CreatedRegionT &&value)
CentralizationRuleSummary & WithRuleHealth(RuleHealth value)
void SetTagPropagationFailureReason(TagPropagationFailureReason 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
TagPropagationFailureReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue