7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/Inspector_EXPORTS.h>
10#include <aws/inspector/model/AssessmentRunNotificationSnsStatusCode.h>
11#include <aws/inspector/model/InspectorEvent.h>
44 template <
typename DateT = Aws::Utils::DateTime>
46 m_dateHasBeenSet =
true;
47 m_date = std::forward<DateT>(value);
49 template <
typename DateT = Aws::Utils::DateTime>
51 SetDate(std::forward<DateT>(value));
63 m_eventHasBeenSet =
true;
78 template <
typename MessageT = Aws::String>
80 m_messageHasBeenSet =
true;
81 m_message = std::forward<MessageT>(value);
83 template <
typename MessageT = Aws::String>
95 inline bool GetError()
const {
return m_error; }
98 m_errorHasBeenSet =
true;
113 template <
typename SnsTopicArnT = Aws::String>
115 m_snsTopicArnHasBeenSet =
true;
116 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
118 template <
typename SnsTopicArnT = Aws::String>
132 m_snsPublishStatusCodeHasBeenSet =
true;
133 m_snsPublishStatusCode = value;
152 bool m_dateHasBeenSet =
false;
153 bool m_eventHasBeenSet =
false;
154 bool m_messageHasBeenSet =
false;
155 bool m_errorHasBeenSet =
false;
156 bool m_snsTopicArnHasBeenSet =
false;
157 bool m_snsPublishStatusCodeHasBeenSet =
false;
bool ErrorHasBeenSet() const
bool DateHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_INSPECTOR_API AssessmentRunNotification(Aws::Utils::Json::JsonView jsonValue)
AssessmentRunNotification & WithMessage(MessageT &&value)
bool EventHasBeenSet() const
void SetSnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode value)
bool SnsPublishStatusCodeHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
AssessmentRunNotification & WithError(bool value)
void SetDate(DateT &&value)
void SetEvent(InspectorEvent value)
AWS_INSPECTOR_API AssessmentRunNotification()=default
InspectorEvent GetEvent() const
AssessmentRunNotification & WithSnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode value)
const Aws::String & GetMessage() const
AssessmentRunNotification & WithSnsTopicArn(SnsTopicArnT &&value)
AssessmentRunNotification & WithDate(DateT &&value)
void SetSnsTopicArn(SnsTopicArnT &&value)
bool MessageHasBeenSet() const
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetError(bool value)
const Aws::String & GetSnsTopicArn() const
AWS_INSPECTOR_API AssessmentRunNotification & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentRunNotificationSnsStatusCode GetSnsPublishStatusCode() const
AssessmentRunNotification & WithEvent(InspectorEvent value)
const Aws::Utils::DateTime & GetDate() const
AssessmentRunNotificationSnsStatusCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue