AWS SDK for C++  1.9.44
AWS SDK for C++
NotifyAppValidationOutputRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sms/SMS_EXPORTS.h>
8 #include <aws/sms/SMSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SMS
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "NotifyAppValidationOutput"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetAppId() const{ return m_appId; }
42 
46  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
47 
51  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
52 
56  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
57 
61  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
62 
66  inline NotifyAppValidationOutputRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
67 
71  inline NotifyAppValidationOutputRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
72 
76  inline NotifyAppValidationOutputRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
77 
78 
82  inline const NotificationContext& GetNotificationContext() const{ return m_notificationContext; }
83 
87  inline bool NotificationContextHasBeenSet() const { return m_notificationContextHasBeenSet; }
88 
92  inline void SetNotificationContext(const NotificationContext& value) { m_notificationContextHasBeenSet = true; m_notificationContext = value; }
93 
97  inline void SetNotificationContext(NotificationContext&& value) { m_notificationContextHasBeenSet = true; m_notificationContext = std::move(value); }
98 
102  inline NotifyAppValidationOutputRequest& WithNotificationContext(const NotificationContext& value) { SetNotificationContext(value); return *this;}
103 
107  inline NotifyAppValidationOutputRequest& WithNotificationContext(NotificationContext&& value) { SetNotificationContext(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_appId;
112  bool m_appIdHasBeenSet;
113 
114  NotificationContext m_notificationContext;
115  bool m_notificationContextHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SMS
120 } // namespace Aws
Aws::SMS::Model::NotificationContext
Definition: NotificationContext.h:34
Aws::SMS::Model::NotifyAppValidationOutputRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: NotifyAppValidationOutputRequest.h:31
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
SMSRequest.h
Aws::SMS::Model::NotifyAppValidationOutputRequest::WithNotificationContext
NotifyAppValidationOutputRequest & WithNotificationContext(const NotificationContext &value)
Definition: NotifyAppValidationOutputRequest.h:102
Aws::SMS::Model::NotifyAppValidationOutputRequest::SetNotificationContext
void SetNotificationContext(NotificationContext &&value)
Definition: NotifyAppValidationOutputRequest.h:97
Aws::SMS::Model::NotifyAppValidationOutputRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: NotifyAppValidationOutputRequest.h:46
Aws::SMS::Model::NotifyAppValidationOutputRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: NotifyAppValidationOutputRequest.h:51
Aws::SMS::Model::NotifyAppValidationOutputRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: NotifyAppValidationOutputRequest.h:56
SMS_EXPORTS.h
Aws::SMS::Model::NotifyAppValidationOutputRequest::GetNotificationContext
const NotificationContext & GetNotificationContext() const
Definition: NotifyAppValidationOutputRequest.h:82
Aws::SMS::SMSRequest
Definition: SMSRequest.h:17
Aws::AmplifyBackend::Model::DeliveryMethod::NOT_SET
@ NOT_SET
AWSString.h
Aws::SMS::Model::NotifyAppValidationOutputRequest::GetAppId
const Aws::String & GetAppId() const
Definition: NotifyAppValidationOutputRequest.h:41
NotificationContext.h
Aws::SMS::Model::NotifyAppValidationOutputRequest::SetNotificationContext
void SetNotificationContext(const NotificationContext &value)
Definition: NotifyAppValidationOutputRequest.h:92
Aws::SMS::Model::NotifyAppValidationOutputRequest::NotifyAppValidationOutputRequest
NotifyAppValidationOutputRequest()
Aws::SMS::Model::NotifyAppValidationOutputRequest::WithNotificationContext
NotifyAppValidationOutputRequest & WithNotificationContext(NotificationContext &&value)
Definition: NotifyAppValidationOutputRequest.h:107
Aws::SMS::Model::NotifyAppValidationOutputRequest::NotificationContextHasBeenSet
bool NotificationContextHasBeenSet() const
Definition: NotifyAppValidationOutputRequest.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::SMS::Model::NotifyAppValidationOutputRequest::WithAppId
NotifyAppValidationOutputRequest & WithAppId(Aws::String &&value)
Definition: NotifyAppValidationOutputRequest.h:71
Aws::SMS::Model::NotifyAppValidationOutputRequest
Definition: NotifyAppValidationOutputRequest.h:23
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SMS::Model::NotifyAppValidationOutputRequest::WithAppId
NotifyAppValidationOutputRequest & WithAppId(const char *value)
Definition: NotifyAppValidationOutputRequest.h:76
Aws::SMS::Model::NotifyAppValidationOutputRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_SMS_API
#define AWS_SMS_API
Definition: SMS_EXPORTS.h:28
Aws::SMS::Model::NotifyAppValidationOutputRequest::WithAppId
NotifyAppValidationOutputRequest & WithAppId(const Aws::String &value)
Definition: NotifyAppValidationOutputRequest.h:66
Aws::SMS::Model::NotifyAppValidationOutputRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SMS::Model::NotifyAppValidationOutputRequest::SetAppId
void SetAppId(const char *value)
Definition: NotifyAppValidationOutputRequest.h:61