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/ContextGraphStatus.h>
11#include <aws/observabilityadmin/model/RuleHealth.h>
12#include <aws/observabilityadmin/model/TagPropagationFailureReason.h>
13#include <aws/observabilityadmin/model/TagPropagationStatus.h>
24namespace ObservabilityAdmin {
46 template <
typename RuleNameT = Aws::String>
48 m_ruleNameHasBeenSet =
true;
49 m_ruleName = std::forward<RuleNameT>(value);
51 template <
typename RuleNameT = Aws::String>
64 template <
typename RuleArnT = Aws::String>
66 m_ruleArnHasBeenSet =
true;
67 m_ruleArn = std::forward<RuleArnT>(value);
69 template <
typename RuleArnT = Aws::String>
83 template <
typename CreatorAccountIdT = Aws::String>
85 m_creatorAccountIdHasBeenSet =
true;
86 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
88 template <
typename CreatorAccountIdT = Aws::String>
102 m_createdTimeStampHasBeenSet =
true;
103 m_createdTimeStamp = value;
118 template <
typename CreatedRegionT = Aws::String>
120 m_createdRegionHasBeenSet =
true;
121 m_createdRegion = std::forward<CreatedRegionT>(value);
123 template <
typename CreatedRegionT = Aws::String>
137 m_lastUpdateTimeStampHasBeenSet =
true;
138 m_lastUpdateTimeStamp = value;
153 m_ruleHealthHasBeenSet =
true;
154 m_ruleHealth = value;
169 m_failureReasonHasBeenSet =
true;
170 m_failureReason = value;
188 m_tagPropagationStatusHasBeenSet =
true;
189 m_tagPropagationStatus = value;
205 m_tagPropagationFailureReasonHasBeenSet =
true;
206 m_tagPropagationFailureReason = value;
225 m_contextGraphStatusHasBeenSet =
true;
226 m_contextGraphStatus = value;
240 template <
typename DestinationAccountIdT = Aws::String>
242 m_destinationAccountIdHasBeenSet =
true;
243 m_destinationAccountId = std::forward<DestinationAccountIdT>(value);
245 template <
typename DestinationAccountIdT = Aws::String>
258 template <
typename DestinationRegionT = Aws::String>
260 m_destinationRegionHasBeenSet =
true;
261 m_destinationRegion = std::forward<DestinationRegionT>(value);
263 template <
typename DestinationRegionT = Aws::String>
276 long long m_createdTimeStamp{0};
280 long long m_lastUpdateTimeStamp{0};
295 bool m_ruleNameHasBeenSet =
false;
296 bool m_ruleArnHasBeenSet =
false;
297 bool m_creatorAccountIdHasBeenSet =
false;
298 bool m_createdTimeStampHasBeenSet =
false;
299 bool m_createdRegionHasBeenSet =
false;
300 bool m_lastUpdateTimeStampHasBeenSet =
false;
301 bool m_ruleHealthHasBeenSet =
false;
302 bool m_failureReasonHasBeenSet =
false;
303 bool m_tagPropagationStatusHasBeenSet =
false;
304 bool m_tagPropagationFailureReasonHasBeenSet =
false;
305 bool m_contextGraphStatusHasBeenSet =
false;
306 bool m_destinationAccountIdHasBeenSet =
false;
307 bool m_destinationRegionHasBeenSet =
false;
void SetFailureReason(CentralizationFailureReason value)
CentralizationRuleSummary & WithTagPropagationFailureReason(TagPropagationFailureReason value)
void SetContextGraphStatus(ContextGraphStatus 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
CentralizationRuleSummary & WithContextGraphStatus(ContextGraphStatus value)
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
ContextGraphStatus GetContextGraphStatus() 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)
bool ContextGraphStatusHasBeenSet() const
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