/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace OpenSearchService { namespace Model { class UpdateScheduledActionResult { public: AWS_OPENSEARCHSERVICE_API UpdateScheduledActionResult(); AWS_OPENSEARCHSERVICE_API UpdateScheduledActionResult(const Aws::AmazonWebServiceResult& result); AWS_OPENSEARCHSERVICE_API UpdateScheduledActionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the rescheduled action.

*/ inline const ScheduledAction& GetScheduledAction() const{ return m_scheduledAction; } /** *

Information about the rescheduled action.

*/ inline void SetScheduledAction(const ScheduledAction& value) { m_scheduledAction = value; } /** *

Information about the rescheduled action.

*/ inline void SetScheduledAction(ScheduledAction&& value) { m_scheduledAction = std::move(value); } /** *

Information about the rescheduled action.

*/ inline UpdateScheduledActionResult& WithScheduledAction(const ScheduledAction& value) { SetScheduledAction(value); return *this;} /** *

Information about the rescheduled action.

*/ inline UpdateScheduledActionResult& WithScheduledAction(ScheduledAction&& value) { SetScheduledAction(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateScheduledActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateScheduledActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateScheduledActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ScheduledAction m_scheduledAction; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws