7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/inspector/model/InspectorEvent.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/inspector/model/AssessmentRunNotificationSnsStatusCode.h>
50 template<
typename DateT = Aws::Utils::DateTime>
51 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
52 template<
typename DateT = Aws::Utils::DateTime>
72 template<
typename MessageT = Aws::String>
73 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
74 template<
typename MessageT = Aws::String>
83 inline bool GetError()
const {
return m_error; }
85 inline void SetError(
bool value) { m_errorHasBeenSet =
true; m_error = value; }
95 template<
typename SnsTopicArnT = Aws::String>
96 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
97 template<
typename SnsTopicArnT = Aws::String>
113 bool m_dateHasBeenSet =
false;
116 bool m_eventHasBeenSet =
false;
119 bool m_messageHasBeenSet =
false;
122 bool m_errorHasBeenSet =
false;
125 bool m_snsTopicArnHasBeenSet =
false;
128 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