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"; }
49 inline void SetWindowId(
const char* value) { m_windowIdHasBeenSet =
true; m_windowId.assign(value); }
116 inline void SetOwnerInformation(
const char* value) { m_ownerInformationHasBeenSet =
true; m_ownerInformation.assign(value); }
130 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
144 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
158 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
166 bool m_windowIdHasBeenSet =
false;
169 bool m_resourceTypeHasBeenSet =
false;
172 bool m_targetsHasBeenSet =
false;
175 bool m_ownerInformationHasBeenSet =
false;
178 bool m_nameHasBeenSet =
false;
181 bool m_descriptionHasBeenSet =
false;
184 bool m_clientTokenHasBeenSet =
false;
const Aws::String & GetOwnerInformation() const
RegisterTargetWithMaintenanceWindowRequest & AddTargets(const Target &value)
RegisterTargetWithMaintenanceWindowRequest & WithClientToken(const Aws::String &value)
RegisterTargetWithMaintenanceWindowRequest & WithTargets(const Aws::Vector< Target > &value)
AWS_SSM_API Aws::String SerializePayload() const override
RegisterTargetWithMaintenanceWindowRequest & WithWindowId(const Aws::String &value)
void SetResourceType(const MaintenanceWindowResourceType &value)
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
RegisterTargetWithMaintenanceWindowRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
RegisterTargetWithMaintenanceWindowRequest & WithClientToken(const char *value)
const MaintenanceWindowResourceType & GetResourceType() const
bool ClientTokenHasBeenSet() const
RegisterTargetWithMaintenanceWindowRequest & WithOwnerInformation(const char *value)
void SetWindowId(Aws::String &&value)
bool WindowIdHasBeenSet() const
RegisterTargetWithMaintenanceWindowRequest & WithName(const Aws::String &value)
RegisterTargetWithMaintenanceWindowRequest & WithClientToken(Aws::String &&value)
RegisterTargetWithMaintenanceWindowRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(const char *value)
const Aws::Vector< Target > & GetTargets() const
RegisterTargetWithMaintenanceWindowRequest & WithResourceType(const MaintenanceWindowResourceType &value)
RegisterTargetWithMaintenanceWindowRequest & WithWindowId(Aws::String &&value)
void SetClientToken(const char *value)
void SetOwnerInformation(Aws::String &&value)
void SetClientToken(Aws::String &&value)
RegisterTargetWithMaintenanceWindowRequest & AddTargets(Target &&value)
void SetTargets(Aws::Vector< Target > &&value)
void SetName(const char *value)
void SetResourceType(MaintenanceWindowResourceType &&value)
void SetName(const Aws::String &value)
RegisterTargetWithMaintenanceWindowRequest & WithOwnerInformation(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
RegisterTargetWithMaintenanceWindowRequest & WithDescription(Aws::String &&value)
RegisterTargetWithMaintenanceWindowRequest & WithOwnerInformation(const Aws::String &value)
void SetOwnerInformation(const Aws::String &value)
void SetWindowId(const char *value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ResourceTypeHasBeenSet() const
const Aws::String & GetWindowId() const
RegisterTargetWithMaintenanceWindowRequest & WithDescription(const Aws::String &value)
bool NameHasBeenSet() const
RegisterTargetWithMaintenanceWindowRequest & WithWindowId(const char *value)
bool TargetsHasBeenSet() const
void SetClientToken(const Aws::String &value)
AWS_SSM_API RegisterTargetWithMaintenanceWindowRequest()
void SetTargets(const Aws::Vector< Target > &value)
RegisterTargetWithMaintenanceWindowRequest & WithTargets(Aws::Vector< Target > &&value)
bool OwnerInformationHasBeenSet() const
void SetWindowId(const Aws::String &value)
RegisterTargetWithMaintenanceWindowRequest & WithResourceType(MaintenanceWindowResourceType &&value)
void SetOwnerInformation(const char *value)
RegisterTargetWithMaintenanceWindowRequest & WithName(const char *value)
void SetName(Aws::String &&value)
const Aws::String & GetDescription() const
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