7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/UserFeedback.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeGuruProfiler {
46 template <
typename EndTimeT = Aws::Utils::DateTime>
48 m_endTimeHasBeenSet =
true;
49 m_endTime = std::forward<EndTimeT>(value);
51 template <
typename EndTimeT = Aws::Utils::DateTime>
65 template <
typename IdT = Aws::String>
67 m_idHasBeenSet =
true;
68 m_id = std::forward<IdT>(value);
70 template <
typename IdT = Aws::String>
72 SetId(std::forward<IdT>(value));
86 template <
typename StartTimeT = Aws::Utils::DateTime>
88 m_startTimeHasBeenSet =
true;
89 m_startTime = std::forward<StartTimeT>(value);
91 template <
typename StartTimeT = Aws::Utils::DateTime>
104 template <
typename UserFeedbackT = UserFeedback>
106 m_userFeedbackHasBeenSet =
true;
107 m_userFeedback = std::forward<UserFeedbackT>(value);
109 template <
typename UserFeedbackT = UserFeedback>
122 UserFeedback m_userFeedback;
123 bool m_endTimeHasBeenSet =
false;
124 bool m_idHasBeenSet =
false;
125 bool m_startTimeHasBeenSet =
false;
126 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