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>
76 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
87 inline bool GetError()
const{
return m_error; }
89 inline void SetError(
bool value) { m_errorHasBeenSet =
true; m_error = value; }
101 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
121 bool m_dateHasBeenSet =
false;
124 bool m_eventHasBeenSet =
false;
127 bool m_messageHasBeenSet =
false;
130 bool m_errorHasBeenSet =
false;
133 bool m_snsTopicArnHasBeenSet =
false;
136 bool m_snsPublishStatusCodeHasBeenSet =
false;
bool ErrorHasBeenSet() const
bool DateHasBeenSet() const
AssessmentRunNotification & WithDate(Aws::Utils::DateTime &&value)
AssessmentRunNotification & WithSnsTopicArn(const char *value)
AWS_INSPECTOR_API AssessmentRunNotification(Aws::Utils::Json::JsonView jsonValue)
AssessmentRunNotification & WithSnsTopicArn(Aws::String &&value)
void SetSnsTopicArn(const char *value)
bool EventHasBeenSet() const
void SetSnsPublishStatusCode(const AssessmentRunNotificationSnsStatusCode &value)
void SetSnsTopicArn(Aws::String &&value)
bool SnsPublishStatusCodeHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
void SetMessage(Aws::String &&value)
AssessmentRunNotification & WithError(bool value)
void SetDate(Aws::Utils::DateTime &&value)
AssessmentRunNotification & WithEvent(InspectorEvent &&value)
void SetEvent(const InspectorEvent &value)
AssessmentRunNotification & WithMessage(Aws::String &&value)
AssessmentRunNotification & WithSnsTopicArn(const Aws::String &value)
const InspectorEvent & GetEvent() const
const Aws::String & GetMessage() const
void SetDate(const Aws::Utils::DateTime &value)
AssessmentRunNotification & WithDate(const Aws::Utils::DateTime &value)
AssessmentRunNotification & WithMessage(const Aws::String &value)
AssessmentRunNotification & WithEvent(const InspectorEvent &value)
void SetEvent(InspectorEvent &&value)
void SetSnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode &&value)
AssessmentRunNotification & WithSnsPublishStatusCode(AssessmentRunNotificationSnsStatusCode &&value)
bool MessageHasBeenSet() const
void SetSnsTopicArn(const Aws::String &value)
AssessmentRunNotification & WithMessage(const char *value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
const AssessmentRunNotificationSnsStatusCode & GetSnsPublishStatusCode() const
void SetError(bool value)
const Aws::String & GetSnsTopicArn() const
AWS_INSPECTOR_API AssessmentRunNotification & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentRunNotification & WithSnsPublishStatusCode(const AssessmentRunNotificationSnsStatusCode &value)
AWS_INSPECTOR_API AssessmentRunNotification()
const Aws::Utils::DateTime & GetDate() const
AssessmentRunNotificationSnsStatusCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue