7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSMRequest.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/Target.h>
41 template <
typename WindowIdT = Aws::String>
43 m_windowIdHasBeenSet =
true;
44 m_windowId = std::forward<WindowIdT>(value);
46 template <
typename WindowIdT = Aws::String>
59 template <
typename WindowTargetIdT = Aws::String>
61 m_windowTargetIdHasBeenSet =
true;
62 m_windowTargetId = std::forward<WindowTargetIdT>(value);
64 template <
typename WindowTargetIdT = Aws::String>
77 template <
typename TargetsT = Aws::Vector<Target>>
79 m_targetsHasBeenSet =
true;
80 m_targets = std::forward<TargetsT>(value);
82 template <
typename TargetsT = Aws::Vector<Target>>
87 template <
typename TargetsT = Target>
89 m_targetsHasBeenSet =
true;
90 m_targets.emplace_back(std::forward<TargetsT>(value));
103 template <
typename OwnerInformationT = Aws::String>
105 m_ownerInformationHasBeenSet =
true;
106 m_ownerInformation = std::forward<OwnerInformationT>(value);
108 template <
typename OwnerInformationT = Aws::String>
121 template <
typename NameT = Aws::String>
123 m_nameHasBeenSet =
true;
124 m_name = std::forward<NameT>(value);
126 template <
typename NameT = Aws::String>
128 SetName(std::forward<NameT>(value));
139 template <
typename DescriptionT = Aws::String>
141 m_descriptionHasBeenSet =
true;
142 m_description = std::forward<DescriptionT>(value);
144 template <
typename DescriptionT = Aws::String>
160 m_replaceHasBeenSet =
true;
181 bool m_replace{
false};
182 bool m_windowIdHasBeenSet =
false;
183 bool m_windowTargetIdHasBeenSet =
false;
184 bool m_targetsHasBeenSet =
false;
185 bool m_ownerInformationHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
188 bool m_replaceHasBeenSet =
false;
void SetReplace(bool value)
UpdateMaintenanceWindowTargetRequest & WithOwnerInformation(OwnerInformationT &&value)
const Aws::String & GetWindowId() const
bool NameHasBeenSet() const
UpdateMaintenanceWindowTargetRequest & WithReplace(bool value)
const Aws::Vector< Target > & GetTargets() const
const Aws::String & GetWindowTargetId() const
void SetWindowTargetId(WindowTargetIdT &&value)
bool TargetsHasBeenSet() const
UpdateMaintenanceWindowTargetRequest & WithWindowTargetId(WindowTargetIdT &&value)
void SetDescription(DescriptionT &&value)
UpdateMaintenanceWindowTargetRequest & AddTargets(TargetsT &&value)
const Aws::String & GetDescription() const
bool OwnerInformationHasBeenSet() const
const Aws::String & GetName() const
bool WindowTargetIdHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(NameT &&value)
const Aws::String & GetOwnerInformation() const
UpdateMaintenanceWindowTargetRequest & WithTargets(TargetsT &&value)
bool WindowIdHasBeenSet() const
void SetTargets(TargetsT &&value)
bool DescriptionHasBeenSet() const
AWS_SSM_API Aws::String SerializePayload() const override
AWS_SSM_API UpdateMaintenanceWindowTargetRequest()=default
void SetOwnerInformation(OwnerInformationT &&value)
UpdateMaintenanceWindowTargetRequest & WithWindowId(WindowIdT &&value)
bool ReplaceHasBeenSet() const
void SetWindowId(WindowIdT &&value)
UpdateMaintenanceWindowTargetRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateMaintenanceWindowTargetRequest & WithDescription(DescriptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector