7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/LogGroupImpact.h>
20namespace CloudWatchLogs {
50 m_totalMatchedLogGroupsHasBeenSet =
true;
51 m_totalMatchedLogGroups = value;
67 m_increasedRetentionLogGroupCountHasBeenSet =
true;
68 m_increasedRetentionLogGroupCount = value;
84 m_decreasedRetentionLogGroupCountHasBeenSet =
true;
85 m_decreasedRetentionLogGroupCount = value;
101 m_unchangedRetentionLogGroupCountHasBeenSet =
true;
102 m_unchangedRetentionLogGroupCount = value;
119 m_failedAnalysisCountHasBeenSet =
true;
120 m_failedAnalysisCount = value;
136 template <
typename TopLogGroupsImpactedT = Aws::Vector<LogGroupImpact>>
138 m_topLogGroupsImpactedHasBeenSet =
true;
139 m_topLogGroupsImpacted = std::forward<TopLogGroupsImpactedT>(value);
141 template <
typename TopLogGroupsImpactedT = Aws::Vector<LogGroupImpact>>
146 template <
typename TopLogGroupsImpactedT = LogGroupImpact>
148 m_topLogGroupsImpactedHasBeenSet =
true;
149 m_topLogGroupsImpacted.emplace_back(std::forward<TopLogGroupsImpactedT>(value));
154 int m_totalMatchedLogGroups{0};
156 int m_increasedRetentionLogGroupCount{0};
158 int m_decreasedRetentionLogGroupCount{0};
160 int m_unchangedRetentionLogGroupCount{0};
162 int m_failedAnalysisCount{0};
165 bool m_totalMatchedLogGroupsHasBeenSet =
false;
166 bool m_increasedRetentionLogGroupCountHasBeenSet =
false;
167 bool m_decreasedRetentionLogGroupCountHasBeenSet =
false;
168 bool m_unchangedRetentionLogGroupCountHasBeenSet =
false;
169 bool m_failedAnalysisCountHasBeenSet =
false;
170 bool m_topLogGroupsImpactedHasBeenSet =
false;
DryRunResult & WithIncreasedRetentionLogGroupCount(int value)
void SetDecreasedRetentionLogGroupCount(int value)
AWS_CLOUDWATCHLOGS_API DryRunResult(Aws::Utils::Json::JsonView jsonValue)
DryRunResult & WithFailedAnalysisCount(int value)
AWS_CLOUDWATCHLOGS_API DryRunResult()=default
bool TopLogGroupsImpactedHasBeenSet() const
void SetTotalMatchedLogGroups(int value)
bool FailedAnalysisCountHasBeenSet() const
DryRunResult & WithTotalMatchedLogGroups(int value)
DryRunResult & WithUnchangedRetentionLogGroupCount(int value)
void SetTopLogGroupsImpacted(TopLogGroupsImpactedT &&value)
DryRunResult & WithTopLogGroupsImpacted(TopLogGroupsImpactedT &&value)
bool IncreasedRetentionLogGroupCountHasBeenSet() const
int GetTotalMatchedLogGroups() const
AWS_CLOUDWATCHLOGS_API DryRunResult & operator=(Aws::Utils::Json::JsonView jsonValue)
DryRunResult & AddTopLogGroupsImpacted(TopLogGroupsImpactedT &&value)
const Aws::Vector< LogGroupImpact > & GetTopLogGroupsImpacted() const
bool UnchangedRetentionLogGroupCountHasBeenSet() const
void SetIncreasedRetentionLogGroupCount(int value)
bool DecreasedRetentionLogGroupCountHasBeenSet() const
int GetUnchangedRetentionLogGroupCount() const
void SetUnchangedRetentionLogGroupCount(int value)
int GetIncreasedRetentionLogGroupCount() const
int GetDecreasedRetentionLogGroupCount() const
DryRunResult & WithDecreasedRetentionLogGroupCount(int value)
void SetFailedAnalysisCount(int value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TotalMatchedLogGroupsHasBeenSet() const
int GetFailedAnalysisCount() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue