7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-insights/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/application-insights/model/SeverityLevel.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/application-insights/model/Visibility.h>
14#include <aws/application-insights/model/ResolutionMethod.h>
15#include <aws/application-insights/model/FeedbackKey.h>
16#include <aws/application-insights/model/FeedbackValue.h>
29namespace ApplicationInsights
43 AWS_APPLICATIONINSIGHTS_API
Problem() =
default;
55 template<
typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
57 template<
typename IdT = Aws::String>
67 template<
typename TitleT = Aws::String>
68 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
69 template<
typename TitleT = Aws::String>
79 template<
typename ShortNameT = Aws::String>
80 void SetShortName(ShortNameT&& value) { m_shortNameHasBeenSet =
true; m_shortName = std::forward<ShortNameT>(value); }
81 template<
typename ShortNameT = Aws::String>
91 template<
typename InsightsT = Aws::String>
92 void SetInsights(InsightsT&& value) { m_insightsHasBeenSet =
true; m_insights = std::forward<InsightsT>(value); }
93 template<
typename InsightsT = Aws::String>
113 template<
typename AffectedResourceT = Aws::String>
114 void SetAffectedResource(AffectedResourceT&& value) { m_affectedResourceHasBeenSet =
true; m_affectedResource = std::forward<AffectedResourceT>(value); }
115 template<
typename AffectedResourceT = Aws::String>
125 template<
typename StartTimeT = Aws::Utils::DateTime>
126 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
127 template<
typename StartTimeT = Aws::Utils::DateTime>
137 template<
typename EndTimeT = Aws::Utils::DateTime>
138 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
139 template<
typename EndTimeT = Aws::Utils::DateTime>
160 template<
typename AccountIdT = Aws::String>
161 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
162 template<
typename AccountIdT = Aws::String>
172 template<
typename ResourceGroupNameT = Aws::String>
173 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet =
true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
174 template<
typename ResourceGroupNameT = Aws::String>
184 template<
typename FeedbackT = Aws::Map<FeedbackKey, FeedbackValue>>
185 void SetFeedback(FeedbackT&& value) { m_feedbackHasBeenSet =
true; m_feedback = std::forward<FeedbackT>(value); }
186 template<
typename FeedbackT = Aws::Map<FeedbackKey, FeedbackValue>>
189 m_feedbackHasBeenSet =
true; m_feedback.emplace(key, value);
return *
this;
200 inline void SetRecurringCount(
long long value) { m_recurringCountHasBeenSet =
true; m_recurringCount = value; }
210 template<
typename LastRecurrenceTimeT = Aws::Utils::DateTime>
211 void SetLastRecurrenceTime(LastRecurrenceTimeT&& value) { m_lastRecurrenceTimeHasBeenSet =
true; m_lastRecurrenceTime = std::forward<LastRecurrenceTimeT>(value); }
212 template<
typename LastRecurrenceTimeT = Aws::Utils::DateTime>
242 bool m_idHasBeenSet =
false;
245 bool m_titleHasBeenSet =
false;
248 bool m_shortNameHasBeenSet =
false;
251 bool m_insightsHasBeenSet =
false;
254 bool m_statusHasBeenSet =
false;
257 bool m_affectedResourceHasBeenSet =
false;
260 bool m_startTimeHasBeenSet =
false;
263 bool m_endTimeHasBeenSet =
false;
266 bool m_severityLevelHasBeenSet =
false;
269 bool m_accountIdHasBeenSet =
false;
272 bool m_resourceGroupNameHasBeenSet =
false;
275 bool m_feedbackHasBeenSet =
false;
277 long long m_recurringCount{0};
278 bool m_recurringCountHasBeenSet =
false;
281 bool m_lastRecurrenceTimeHasBeenSet =
false;
284 bool m_visibilityHasBeenSet =
false;
287 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