7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/MaintenanceWindowResourceType.h>
11#include <aws/ssm/model/Target.h>
44 template <
typename WindowIdT = Aws::String>
46 m_windowIdHasBeenSet =
true;
47 m_windowId = std::forward<WindowIdT>(value);
49 template <
typename WindowIdT = Aws::String>
62 template <
typename WindowTargetIdT = Aws::String>
64 m_windowTargetIdHasBeenSet =
true;
65 m_windowTargetId = std::forward<WindowTargetIdT>(value);
67 template <
typename WindowTargetIdT = Aws::String>
81 m_resourceTypeHasBeenSet =
true;
82 m_resourceType = value;
100 template <
typename TargetsT = Aws::Vector<Target>>
102 m_targetsHasBeenSet =
true;
103 m_targets = std::forward<TargetsT>(value);
105 template <
typename TargetsT = Aws::Vector<Target>>
110 template <
typename TargetsT = Target>
112 m_targetsHasBeenSet =
true;
113 m_targets.emplace_back(std::forward<TargetsT>(value));
126 template <
typename OwnerInformationT = Aws::String>
128 m_ownerInformationHasBeenSet =
true;
129 m_ownerInformation = std::forward<OwnerInformationT>(value);
131 template <
typename OwnerInformationT = Aws::String>
144 template <
typename NameT = Aws::String>
146 m_nameHasBeenSet =
true;
147 m_name = std::forward<NameT>(value);
149 template <
typename NameT = Aws::String>
151 SetName(std::forward<NameT>(value));
162 template <
typename DescriptionT = Aws::String>
164 m_descriptionHasBeenSet =
true;
165 m_description = std::forward<DescriptionT>(value);
167 template <
typename DescriptionT = Aws::String>
187 bool m_windowIdHasBeenSet =
false;
188 bool m_windowTargetIdHasBeenSet =
false;
189 bool m_resourceTypeHasBeenSet =
false;
190 bool m_targetsHasBeenSet =
false;
191 bool m_ownerInformationHasBeenSet =
false;
192 bool m_nameHasBeenSet =
false;
193 bool m_descriptionHasBeenSet =
false;
const Aws::String & GetWindowId() const
void SetTargets(TargetsT &&value)
void SetOwnerInformation(OwnerInformationT &&value)
bool NameHasBeenSet() const
MaintenanceWindowTarget & WithTargets(TargetsT &&value)
MaintenanceWindowTarget & WithWindowId(WindowIdT &&value)
void SetName(NameT &&value)
bool DescriptionHasBeenSet() const
void SetWindowTargetId(WindowTargetIdT &&value)
const Aws::Vector< Target > & GetTargets() const
AWS_SSM_API MaintenanceWindowTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API MaintenanceWindowTarget()=default
bool ResourceTypeHasBeenSet() const
bool WindowTargetIdHasBeenSet() const
AWS_SSM_API MaintenanceWindowTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowTarget & AddTargets(TargetsT &&value)
MaintenanceWindowResourceType GetResourceType() const
bool OwnerInformationHasBeenSet() const
MaintenanceWindowTarget & WithWindowTargetId(WindowTargetIdT &&value)
MaintenanceWindowTarget & WithOwnerInformation(OwnerInformationT &&value)
bool TargetsHasBeenSet() const
MaintenanceWindowTarget & WithResourceType(MaintenanceWindowResourceType value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
bool WindowIdHasBeenSet() const
MaintenanceWindowTarget & WithDescription(DescriptionT &&value)
const Aws::String & GetWindowTargetId() const
MaintenanceWindowTarget & WithName(NameT &&value)
void SetResourceType(MaintenanceWindowResourceType value)
void SetWindowId(WindowIdT &&value)
const Aws::String & GetOwnerInformation() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue