7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/MaintenanceWindowResourceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ssm/model/Target.h>
14#include <aws/core/utils/UUID.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "RegisterTargetWithMaintenanceWindow"; }
47 template<
typename WindowIdT = Aws::String>
48 void SetWindowId(WindowIdT&& value) { m_windowIdHasBeenSet =
true; m_windowId = std::forward<WindowIdT>(value); }
49 template<
typename WindowIdT = Aws::String>
94 template<
typename TargetsT = Aws::Vector<Target>>
95 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
96 template<
typename TargetsT = Aws::Vector<Target>>
98 template<
typename TargetsT = Target>
110 template<
typename OwnerInformationT = Aws::String>
111 void SetOwnerInformation(OwnerInformationT&& value) { m_ownerInformationHasBeenSet =
true; m_ownerInformation = std::forward<OwnerInformationT>(value); }
112 template<
typename OwnerInformationT = Aws::String>
122 template<
typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
124 template<
typename NameT = Aws::String>
134 template<
typename DescriptionT = Aws::String>
135 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
136 template<
typename DescriptionT = Aws::String>
146 template<
typename ClientTokenT = Aws::String>
147 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
148 template<
typename ClientTokenT = Aws::String>
154 bool m_windowIdHasBeenSet =
false;
157 bool m_resourceTypeHasBeenSet =
false;
160 bool m_targetsHasBeenSet =
false;
163 bool m_ownerInformationHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_clientTokenHasBeenSet =
true;
const Aws::String & GetOwnerInformation() const
AWS_SSM_API RegisterTargetWithMaintenanceWindowRequest()=default
RegisterTargetWithMaintenanceWindowRequest & WithWindowId(WindowIdT &&value)
RegisterTargetWithMaintenanceWindowRequest & WithDescription(DescriptionT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
void SetResourceType(MaintenanceWindowResourceType value)
RegisterTargetWithMaintenanceWindowRequest & WithClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
bool ClientTokenHasBeenSet() const
bool WindowIdHasBeenSet() const
RegisterTargetWithMaintenanceWindowRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
void SetTargets(TargetsT &&value)
const Aws::Vector< Target > & GetTargets() const
void SetDescription(DescriptionT &&value)
void SetOwnerInformation(OwnerInformationT &&value)
RegisterTargetWithMaintenanceWindowRequest & AddTargets(TargetsT &&value)
void SetWindowId(WindowIdT &&value)
RegisterTargetWithMaintenanceWindowRequest & WithTargets(TargetsT &&value)
RegisterTargetWithMaintenanceWindowRequest & WithResourceType(MaintenanceWindowResourceType value)
void SetClientToken(ClientTokenT &&value)
MaintenanceWindowResourceType GetResourceType() const
bool DescriptionHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ResourceTypeHasBeenSet() const
RegisterTargetWithMaintenanceWindowRequest & WithOwnerInformation(OwnerInformationT &&value)
const Aws::String & GetWindowId() const
bool NameHasBeenSet() const
bool TargetsHasBeenSet() const
bool OwnerInformationHasBeenSet() const
const Aws::String & GetDescription() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
MaintenanceWindowResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector