7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/FeedbackKey.h>
9#include <aws/application-insights/model/FeedbackValue.h>
10#include <aws/application-insights/model/ResolutionMethod.h>
11#include <aws/application-insights/model/SeverityLevel.h>
12#include <aws/application-insights/model/Status.h>
13#include <aws/application-insights/model/Visibility.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
27namespace ApplicationInsights {
38 AWS_APPLICATIONINSIGHTS_API
Problem() =
default;
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
67 template <
typename TitleT = Aws::String>
69 m_titleHasBeenSet =
true;
70 m_title = std::forward<TitleT>(value);
72 template <
typename TitleT = Aws::String>
74 SetTitle(std::forward<TitleT>(value));
85 template <
typename ShortNameT = Aws::String>
87 m_shortNameHasBeenSet =
true;
88 m_shortName = std::forward<ShortNameT>(value);
90 template <
typename ShortNameT = Aws::String>
103 template <
typename InsightsT = Aws::String>
105 m_insightsHasBeenSet =
true;
106 m_insights = std::forward<InsightsT>(value);
108 template <
typename InsightsT = Aws::String>
122 m_statusHasBeenSet =
true;
137 template <
typename AffectedResourceT = Aws::String>
139 m_affectedResourceHasBeenSet =
true;
140 m_affectedResource = std::forward<AffectedResourceT>(value);
142 template <
typename AffectedResourceT = Aws::String>
155 template <
typename StartTimeT = Aws::Utils::DateTime>
157 m_startTimeHasBeenSet =
true;
158 m_startTime = std::forward<StartTimeT>(value);
160 template <
typename StartTimeT = Aws::Utils::DateTime>
173 template <
typename EndTimeT = Aws::Utils::DateTime>
175 m_endTimeHasBeenSet =
true;
176 m_endTime = std::forward<EndTimeT>(value);
178 template <
typename EndTimeT = Aws::Utils::DateTime>
192 m_severityLevelHasBeenSet =
true;
193 m_severityLevel = value;
208 template <
typename AccountIdT = Aws::String>
210 m_accountIdHasBeenSet =
true;
211 m_accountId = std::forward<AccountIdT>(value);
213 template <
typename AccountIdT = Aws::String>
226 template <
typename ResourceGroupNameT = Aws::String>
228 m_resourceGroupNameHasBeenSet =
true;
229 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
231 template <
typename ResourceGroupNameT = Aws::String>
244 template <
typename FeedbackT = Aws::Map<FeedbackKey, FeedbackValue>>
246 m_feedbackHasBeenSet =
true;
247 m_feedback = std::forward<FeedbackT>(value);
249 template <
typename FeedbackT = Aws::Map<FeedbackKey, FeedbackValue>>
255 m_feedbackHasBeenSet =
true;
256 m_feedback.emplace(key, value);
269 m_recurringCountHasBeenSet =
true;
270 m_recurringCount = value;
284 template <
typename LastRecurrenceTimeT = Aws::Utils::DateTime>
286 m_lastRecurrenceTimeHasBeenSet =
true;
287 m_lastRecurrenceTime = std::forward<LastRecurrenceTimeT>(value);
289 template <
typename LastRecurrenceTimeT = Aws::Utils::DateTime>
304 m_visibilityHasBeenSet =
true;
305 m_visibility = value;
323 m_resolutionMethodHasBeenSet =
true;
324 m_resolutionMethod = value;
356 long long m_recurringCount{0};
363 bool m_idHasBeenSet =
false;
364 bool m_titleHasBeenSet =
false;
365 bool m_shortNameHasBeenSet =
false;
366 bool m_insightsHasBeenSet =
false;
367 bool m_statusHasBeenSet =
false;
368 bool m_affectedResourceHasBeenSet =
false;
369 bool m_startTimeHasBeenSet =
false;
370 bool m_endTimeHasBeenSet =
false;
371 bool m_severityLevelHasBeenSet =
false;
372 bool m_accountIdHasBeenSet =
false;
373 bool m_resourceGroupNameHasBeenSet =
false;
374 bool m_feedbackHasBeenSet =
false;
375 bool m_recurringCountHasBeenSet =
false;
376 bool m_lastRecurrenceTimeHasBeenSet =
false;
377 bool m_visibilityHasBeenSet =
false;
378 bool m_resolutionMethodHasBeenSet =
false;
bool TitleHasBeenSet() const
bool ResourceGroupNameHasBeenSet() const
Problem & WithEndTime(EndTimeT &&value)
const Aws::String & GetId() const
void SetEndTime(EndTimeT &&value)
Problem & WithAffectedResource(AffectedResourceT &&value)
bool AccountIdHasBeenSet() const
bool ResolutionMethodHasBeenSet() const
Visibility GetVisibility() const
Problem & WithAccountId(AccountIdT &&value)
bool LastRecurrenceTimeHasBeenSet() const
void SetAffectedResource(AffectedResourceT &&value)
void SetVisibility(Visibility value)
AWS_APPLICATIONINSIGHTS_API Problem()=default
Problem & WithVisibility(Visibility value)
bool InsightsHasBeenSet() const
bool EndTimeHasBeenSet() const
const Aws::String & GetShortName() const
const Aws::String & GetAffectedResource() const
bool FeedbackHasBeenSet() const
bool VisibilityHasBeenSet() const
Problem & WithSeverityLevel(SeverityLevel value)
const Aws::Map< FeedbackKey, FeedbackValue > & GetFeedback() const
void SetInsights(InsightsT &&value)
void SetTitle(TitleT &&value)
const Aws::Utils::DateTime & GetLastRecurrenceTime() const
AWS_APPLICATIONINSIGHTS_API Problem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
bool StatusHasBeenSet() const
void SetResolutionMethod(ResolutionMethod value)
Problem & WithFeedback(FeedbackT &&value)
Problem & WithResolutionMethod(ResolutionMethod value)
void SetLastRecurrenceTime(LastRecurrenceTimeT &&value)
Problem & WithShortName(ShortNameT &&value)
Problem & WithTitle(TitleT &&value)
long long GetRecurringCount() const
void SetResourceGroupName(ResourceGroupNameT &&value)
void SetShortName(ShortNameT &&value)
void SetStatus(Status value)
void SetAccountId(AccountIdT &&value)
AWS_APPLICATIONINSIGHTS_API Problem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeverityLevel(SeverityLevel value)
bool AffectedResourceHasBeenSet() const
void SetRecurringCount(long long value)
bool ShortNameHasBeenSet() const
Problem & WithRecurringCount(long long value)
bool StartTimeHasBeenSet() const
bool RecurringCountHasBeenSet() const
Problem & WithStatus(Status value)
bool SeverityLevelHasBeenSet() const
ResolutionMethod GetResolutionMethod() const
void SetStartTime(StartTimeT &&value)
Problem & WithInsights(InsightsT &&value)
SeverityLevel GetSeverityLevel() const
void SetFeedback(FeedbackT &&value)
Problem & WithResourceGroupName(ResourceGroupNameT &&value)
Problem & AddFeedback(FeedbackKey key, FeedbackValue value)
const Aws::String & GetTitle() const
const Aws::Utils::DateTime & GetStartTime() const
Problem & WithStartTime(StartTimeT &&value)
bool IdHasBeenSet() const
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
Problem & WithLastRecurrenceTime(LastRecurrenceTimeT &&value)
const Aws::String & GetInsights() const
const Aws::String & GetResourceGroupName() const
Problem & WithId(IdT &&value)
const Aws::String & GetAccountId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue