/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class UpdateMaintenanceWindowTargetResult { public: AWS_SSM_API UpdateMaintenanceWindowTargetResult(); AWS_SSM_API UpdateMaintenanceWindowTargetResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API UpdateMaintenanceWindowTargetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The maintenance window ID specified in the update request.

*/ inline const Aws::String& GetWindowId() const{ return m_windowId; } /** *

The maintenance window ID specified in the update request.

*/ inline void SetWindowId(const Aws::String& value) { m_windowId = value; } /** *

The maintenance window ID specified in the update request.

*/ inline void SetWindowId(Aws::String&& value) { m_windowId = std::move(value); } /** *

The maintenance window ID specified in the update request.

*/ inline void SetWindowId(const char* value) { m_windowId.assign(value); } /** *

The maintenance window ID specified in the update request.

*/ inline UpdateMaintenanceWindowTargetResult& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;} /** *

The maintenance window ID specified in the update request.

*/ inline UpdateMaintenanceWindowTargetResult& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;} /** *

The maintenance window ID specified in the update request.

*/ inline UpdateMaintenanceWindowTargetResult& WithWindowId(const char* value) { SetWindowId(value); return *this;} /** *

The target ID specified in the update request.

*/ inline const Aws::String& GetWindowTargetId() const{ return m_windowTargetId; } /** *

The target ID specified in the update request.

*/ inline void SetWindowTargetId(const Aws::String& value) { m_windowTargetId = value; } /** *

The target ID specified in the update request.

*/ inline void SetWindowTargetId(Aws::String&& value) { m_windowTargetId = std::move(value); } /** *

The target ID specified in the update request.

*/ inline void SetWindowTargetId(const char* value) { m_windowTargetId.assign(value); } /** *

The target ID specified in the update request.

*/ inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(const Aws::String& value) { SetWindowTargetId(value); return *this;} /** *

The target ID specified in the update request.

*/ inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(Aws::String&& value) { SetWindowTargetId(std::move(value)); return *this;} /** *

The target ID specified in the update request.

*/ inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(const char* value) { SetWindowTargetId(value); return *this;} /** *

The updated targets.

*/ inline const Aws::Vector& GetTargets() const{ return m_targets; } /** *

The updated targets.

*/ inline void SetTargets(const Aws::Vector& value) { m_targets = value; } /** *

The updated targets.

*/ inline void SetTargets(Aws::Vector&& value) { m_targets = std::move(value); } /** *

The updated targets.

*/ inline UpdateMaintenanceWindowTargetResult& WithTargets(const Aws::Vector& value) { SetTargets(value); return *this;} /** *

The updated targets.

*/ inline UpdateMaintenanceWindowTargetResult& WithTargets(Aws::Vector&& value) { SetTargets(std::move(value)); return *this;} /** *

The updated targets.

*/ inline UpdateMaintenanceWindowTargetResult& AddTargets(const Target& value) { m_targets.push_back(value); return *this; } /** *

The updated targets.

*/ inline UpdateMaintenanceWindowTargetResult& AddTargets(Target&& value) { m_targets.push_back(std::move(value)); return *this; } /** *

The updated owner.

*/ inline const Aws::String& GetOwnerInformation() const{ return m_ownerInformation; } /** *

The updated owner.

*/ inline void SetOwnerInformation(const Aws::String& value) { m_ownerInformation = value; } /** *

The updated owner.

*/ inline void SetOwnerInformation(Aws::String&& value) { m_ownerInformation = std::move(value); } /** *

The updated owner.

*/ inline void SetOwnerInformation(const char* value) { m_ownerInformation.assign(value); } /** *

The updated owner.

*/ inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(const Aws::String& value) { SetOwnerInformation(value); return *this;} /** *

The updated owner.

*/ inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(Aws::String&& value) { SetOwnerInformation(std::move(value)); return *this;} /** *

The updated owner.

*/ inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(const char* value) { SetOwnerInformation(value); return *this;} /** *

The updated name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The updated name.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The updated name.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The updated name.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The updated name.

*/ inline UpdateMaintenanceWindowTargetResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The updated name.

*/ inline UpdateMaintenanceWindowTargetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The updated name.

*/ inline UpdateMaintenanceWindowTargetResult& WithName(const char* value) { SetName(value); return *this;} /** *

The updated description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The updated description.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The updated description.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The updated description.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The updated description.

*/ inline UpdateMaintenanceWindowTargetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The updated description.

*/ inline UpdateMaintenanceWindowTargetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The updated description.

*/ inline UpdateMaintenanceWindowTargetResult& WithDescription(const char* value) { SetDescription(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 UpdateMaintenanceWindowTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateMaintenanceWindowTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateMaintenanceWindowTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_windowId; Aws::String m_windowTargetId; Aws::Vector m_targets; Aws::String m_ownerInformation; Aws::String m_name; Aws::String m_description; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws