7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguruprofiler/model/UserFeedback.h>
23namespace CodeGuruProfiler
52 template<
typename EndTimeT = Aws::Utils::DateTime>
53 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
54 template<
typename EndTimeT = Aws::Utils::DateTime>
65 template<
typename IdT = Aws::String>
66 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
67 template<
typename IdT = Aws::String>
80 template<
typename StartTimeT = Aws::Utils::DateTime>
81 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
82 template<
typename StartTimeT = Aws::Utils::DateTime>
92 template<
typename UserFeedbackT = UserFeedback>
93 void SetUserFeedback(UserFeedbackT&& value) { m_userFeedbackHasBeenSet =
true; m_userFeedback = std::forward<UserFeedbackT>(value); }
94 template<
typename UserFeedbackT = UserFeedback>
100 bool m_endTimeHasBeenSet =
false;
103 bool m_idHasBeenSet =
false;
106 bool m_startTimeHasBeenSet =
false;
108 UserFeedback m_userFeedback;
109 bool m_userFeedbackHasBeenSet =
false;
AWS_CODEGURUPROFILER_API AnomalyInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
bool UserFeedbackHasBeenSet() const
bool IdHasBeenSet() const
AWS_CODEGURUPROFILER_API AnomalyInstance(Aws::Utils::Json::JsonView jsonValue)
AnomalyInstance & WithId(IdT &&value)
AnomalyInstance & WithStartTime(StartTimeT &&value)
AnomalyInstance & WithUserFeedback(UserFeedbackT &&value)
bool EndTimeHasBeenSet() const
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetEndTime() const
const UserFeedback & GetUserFeedback() const
void SetUserFeedback(UserFeedbackT &&value)
AWS_CODEGURUPROFILER_API AnomalyInstance()=default
void SetStartTime(StartTimeT &&value)
AnomalyInstance & WithEndTime(EndTimeT &&value)
bool StartTimeHasBeenSet() const
void SetEndTime(EndTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue