270 lines
8.0 KiB
C++
270 lines
8.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/ssm/SSM_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/ssm/model/Target.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SSM
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_SSM_API UpdateMaintenanceWindowTargetResult
|
|
{
|
|
public:
|
|
UpdateMaintenanceWindowTargetResult();
|
|
UpdateMaintenanceWindowTargetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
UpdateMaintenanceWindowTargetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline const Aws::String& GetWindowId() const{ return m_windowId; }
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline void SetWindowId(const Aws::String& value) { m_windowId = value; }
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline void SetWindowId(Aws::String&& value) { m_windowId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline void SetWindowId(const char* value) { m_windowId.assign(value); }
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The maintenance window ID specified in the update request.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithWindowId(const char* value) { SetWindowId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline const Aws::String& GetWindowTargetId() const{ return m_windowTargetId; }
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline void SetWindowTargetId(const Aws::String& value) { m_windowTargetId = value; }
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline void SetWindowTargetId(Aws::String&& value) { m_windowTargetId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline void SetWindowTargetId(const char* value) { m_windowTargetId.assign(value); }
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(const Aws::String& value) { SetWindowTargetId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(Aws::String&& value) { SetWindowTargetId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The target ID specified in the update request.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithWindowTargetId(const char* value) { SetWindowTargetId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline const Aws::Vector<Target>& GetTargets() const{ return m_targets; }
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline void SetTargets(const Aws::Vector<Target>& value) { m_targets = value; }
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline void SetTargets(Aws::Vector<Target>&& value) { m_targets = std::move(value); }
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithTargets(const Aws::Vector<Target>& value) { SetTargets(value); return *this;}
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithTargets(Aws::Vector<Target>&& value) { SetTargets(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& AddTargets(const Target& value) { m_targets.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>The updated targets.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& AddTargets(Target&& value) { m_targets.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline const Aws::String& GetOwnerInformation() const{ return m_ownerInformation; }
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline void SetOwnerInformation(const Aws::String& value) { m_ownerInformation = value; }
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline void SetOwnerInformation(Aws::String&& value) { m_ownerInformation = std::move(value); }
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline void SetOwnerInformation(const char* value) { m_ownerInformation.assign(value); }
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(const Aws::String& value) { SetOwnerInformation(value); return *this;}
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(Aws::String&& value) { SetOwnerInformation(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The updated owner.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithOwnerInformation(const char* value) { SetOwnerInformation(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline void SetName(const Aws::String& value) { m_name = value; }
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline void SetName(const char* value) { m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The updated name.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_description = value; }
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The updated description.</p>
|
|
*/
|
|
inline UpdateMaintenanceWindowTargetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_windowId;
|
|
|
|
Aws::String m_windowTargetId;
|
|
|
|
Aws::Vector<Target> m_targets;
|
|
|
|
Aws::String m_ownerInformation;
|
|
|
|
Aws::String m_name;
|
|
|
|
Aws::String m_description;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|