/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The target registered with the maintenance window.See Also:
* AWS
* API Reference
The ID of the maintenance window to register the target with.
*/ inline const Aws::String& GetWindowId() const{ return m_windowId; } /** *The ID of the maintenance window to register the target with.
*/ inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; } /** *The ID of the maintenance window to register the target with.
*/ inline void SetWindowId(const Aws::String& value) { m_windowIdHasBeenSet = true; m_windowId = value; } /** *The ID of the maintenance window to register the target with.
*/ inline void SetWindowId(Aws::String&& value) { m_windowIdHasBeenSet = true; m_windowId = std::move(value); } /** *The ID of the maintenance window to register the target with.
*/ inline void SetWindowId(const char* value) { m_windowIdHasBeenSet = true; m_windowId.assign(value); } /** *The ID of the maintenance window to register the target with.
*/ inline MaintenanceWindowTarget& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;} /** *The ID of the maintenance window to register the target with.
*/ inline MaintenanceWindowTarget& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;} /** *The ID of the maintenance window to register the target with.
*/ inline MaintenanceWindowTarget& WithWindowId(const char* value) { SetWindowId(value); return *this;} /** *The ID of the target.
*/ inline const Aws::String& GetWindowTargetId() const{ return m_windowTargetId; } /** *The ID of the target.
*/ inline bool WindowTargetIdHasBeenSet() const { return m_windowTargetIdHasBeenSet; } /** *The ID of the target.
*/ inline void SetWindowTargetId(const Aws::String& value) { m_windowTargetIdHasBeenSet = true; m_windowTargetId = value; } /** *The ID of the target.
*/ inline void SetWindowTargetId(Aws::String&& value) { m_windowTargetIdHasBeenSet = true; m_windowTargetId = std::move(value); } /** *The ID of the target.
*/ inline void SetWindowTargetId(const char* value) { m_windowTargetIdHasBeenSet = true; m_windowTargetId.assign(value); } /** *The ID of the target.
*/ inline MaintenanceWindowTarget& WithWindowTargetId(const Aws::String& value) { SetWindowTargetId(value); return *this;} /** *The ID of the target.
*/ inline MaintenanceWindowTarget& WithWindowTargetId(Aws::String&& value) { SetWindowTargetId(std::move(value)); return *this;} /** *The ID of the target.
*/ inline MaintenanceWindowTarget& WithWindowTargetId(const char* value) { SetWindowTargetId(value); return *this;} /** *The type of target that is being registered with the maintenance window.
*/ inline const MaintenanceWindowResourceType& GetResourceType() const{ return m_resourceType; } /** *The type of target that is being registered with the maintenance window.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of target that is being registered with the maintenance window.
*/ inline void SetResourceType(const MaintenanceWindowResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of target that is being registered with the maintenance window.
*/ inline void SetResourceType(MaintenanceWindowResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of target that is being registered with the maintenance window.
*/ inline MaintenanceWindowTarget& WithResourceType(const MaintenanceWindowResourceType& value) { SetResourceType(value); return *this;} /** *The type of target that is being registered with the maintenance window.
*/ inline MaintenanceWindowTarget& WithResourceType(MaintenanceWindowResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
The targets, either managed nodes or tags.
Specify managed nodes using * the following format:
* Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag
* name>,Values=<tag value>
.
A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline const Aws::String& GetOwnerInformation() const{ return m_ownerInformation; } /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline bool OwnerInformationHasBeenSet() const { return m_ownerInformationHasBeenSet; } /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline void SetOwnerInformation(const Aws::String& value) { m_ownerInformationHasBeenSet = true; m_ownerInformation = value; } /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline void SetOwnerInformation(Aws::String&& value) { m_ownerInformationHasBeenSet = true; m_ownerInformation = std::move(value); } /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline void SetOwnerInformation(const char* value) { m_ownerInformationHasBeenSet = true; m_ownerInformation.assign(value); } /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline MaintenanceWindowTarget& WithOwnerInformation(const Aws::String& value) { SetOwnerInformation(value); return *this;} /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline MaintenanceWindowTarget& WithOwnerInformation(Aws::String&& value) { SetOwnerInformation(std::move(value)); return *this;} /** *A user-provided value that will be included in any Amazon CloudWatch Events * events that are raised while running tasks for these targets in this maintenance * window.
*/ inline MaintenanceWindowTarget& WithOwnerInformation(const char* value) { SetOwnerInformation(value); return *this;} /** *The name for the maintenance window target.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name for the maintenance window target.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name for the maintenance window target.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name for the maintenance window target.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name for the maintenance window target.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name for the maintenance window target.
*/ inline MaintenanceWindowTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name for the maintenance window target.
*/ inline MaintenanceWindowTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name for the maintenance window target.
*/ inline MaintenanceWindowTarget& WithName(const char* value) { SetName(value); return *this;} /** *A description for the target.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the target.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the target.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the target.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the target.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the target.
*/ inline MaintenanceWindowTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the target.
*/ inline MaintenanceWindowTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the target.
*/ inline MaintenanceWindowTarget& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_windowId; bool m_windowIdHasBeenSet = false; Aws::String m_windowTargetId; bool m_windowTargetIdHasBeenSet = false; MaintenanceWindowResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::Vector