/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SMS { namespace Model { /** */ class NotifyAppValidationOutputRequest : public SMSRequest { public: AWS_SMS_API NotifyAppValidationOutputRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "NotifyAppValidationOutput"; } AWS_SMS_API Aws::String SerializePayload() const override; AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the application.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The ID of the application.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The ID of the application.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The ID of the application.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The ID of the application.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The ID of the application.

*/ inline NotifyAppValidationOutputRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The ID of the application.

*/ inline NotifyAppValidationOutputRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The ID of the application.

*/ inline NotifyAppValidationOutputRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The notification information.

*/ inline const NotificationContext& GetNotificationContext() const{ return m_notificationContext; } /** *

The notification information.

*/ inline bool NotificationContextHasBeenSet() const { return m_notificationContextHasBeenSet; } /** *

The notification information.

*/ inline void SetNotificationContext(const NotificationContext& value) { m_notificationContextHasBeenSet = true; m_notificationContext = value; } /** *

The notification information.

*/ inline void SetNotificationContext(NotificationContext&& value) { m_notificationContextHasBeenSet = true; m_notificationContext = std::move(value); } /** *

The notification information.

*/ inline NotifyAppValidationOutputRequest& WithNotificationContext(const NotificationContext& value) { SetNotificationContext(value); return *this;} /** *

The notification information.

*/ inline NotifyAppValidationOutputRequest& WithNotificationContext(NotificationContext&& value) { SetNotificationContext(std::move(value)); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; NotificationContext m_notificationContext; bool m_notificationContextHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws