AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationContext.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sms/model/ValidationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SMS_API NotificationContext();
40
41
43
46 inline const Aws::String& GetValidationId() const{ return m_validationId; }
47 inline bool ValidationIdHasBeenSet() const { return m_validationIdHasBeenSet; }
48 inline void SetValidationId(const Aws::String& value) { m_validationIdHasBeenSet = true; m_validationId = value; }
49 inline void SetValidationId(Aws::String&& value) { m_validationIdHasBeenSet = true; m_validationId = std::move(value); }
50 inline void SetValidationId(const char* value) { m_validationIdHasBeenSet = true; m_validationId.assign(value); }
51 inline NotificationContext& WithValidationId(const Aws::String& value) { SetValidationId(value); return *this;}
52 inline NotificationContext& WithValidationId(Aws::String&& value) { SetValidationId(std::move(value)); return *this;}
53 inline NotificationContext& WithValidationId(const char* value) { SetValidationId(value); return *this;}
55
57
60 inline const ValidationStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const ValidationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(ValidationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline NotificationContext& WithStatus(const ValidationStatus& value) { SetStatus(value); return *this;}
65 inline NotificationContext& WithStatus(ValidationStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
73 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
74 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
75 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
76 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
77 inline NotificationContext& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
78 inline NotificationContext& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
79 inline NotificationContext& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
81 private:
82
83 Aws::String m_validationId;
84 bool m_validationIdHasBeenSet = false;
85
86 ValidationStatus m_status;
87 bool m_statusHasBeenSet = false;
88
89 Aws::String m_statusMessage;
90 bool m_statusMessageHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SMS
95} // namespace Aws
const Aws::String & GetValidationId() const
NotificationContext & WithStatusMessage(const char *value)
AWS_SMS_API NotificationContext(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatusMessage() const
NotificationContext & WithStatusMessage(const Aws::String &value)
NotificationContext & WithValidationId(const char *value)
NotificationContext & WithValidationId(const Aws::String &value)
NotificationContext & WithStatus(const ValidationStatus &value)
NotificationContext & WithValidationId(Aws::String &&value)
NotificationContext & WithStatusMessage(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
const ValidationStatus & GetStatus() const
void SetValidationId(Aws::String &&value)
NotificationContext & WithStatus(ValidationStatus &&value)
AWS_SMS_API NotificationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatusMessage(Aws::String &&value)
void SetStatus(ValidationStatus &&value)
void SetStatus(const ValidationStatus &value)
void SetValidationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue