7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/SSMRequest.h>
12#include <aws/ssm/SSM_EXPORTS.h>
13#include <aws/ssm/model/Runbook.h>
14#include <aws/ssm/model/Tag.h>
47 template <
typename ScheduledTimeT = Aws::Utils::DateTime>
49 m_scheduledTimeHasBeenSet =
true;
50 m_scheduledTime = std::forward<ScheduledTimeT>(value);
52 template <
typename ScheduledTimeT = Aws::Utils::DateTime>
66 template <
typename DocumentNameT = Aws::String>
68 m_documentNameHasBeenSet =
true;
69 m_documentName = std::forward<DocumentNameT>(value);
71 template <
typename DocumentNameT = Aws::String>
85 template <
typename DocumentVersionT = Aws::String>
87 m_documentVersionHasBeenSet =
true;
88 m_documentVersion = std::forward<DocumentVersionT>(value);
90 template <
typename DocumentVersionT = Aws::String>
104 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
106 m_parametersHasBeenSet =
true;
107 m_parameters = std::forward<ParametersT>(value);
109 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
114 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
116 m_parametersHasBeenSet =
true;
117 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
129 template <
typename ChangeRequestNameT = Aws::String>
131 m_changeRequestNameHasBeenSet =
true;
132 m_changeRequestName = std::forward<ChangeRequestNameT>(value);
134 template <
typename ChangeRequestNameT = Aws::String>
148 template <
typename ClientTokenT = Aws::String>
150 m_clientTokenHasBeenSet =
true;
151 m_clientToken = std::forward<ClientTokenT>(value);
153 template <
typename ClientTokenT = Aws::String>
175 m_autoApproveHasBeenSet =
true;
176 m_autoApprove = value;
193 template <
typename RunbooksT = Aws::Vector<Runbook>>
195 m_runbooksHasBeenSet =
true;
196 m_runbooks = std::forward<RunbooksT>(value);
198 template <
typename RunbooksT = Aws::Vector<Runbook>>
203 template <
typename RunbooksT = Runbook>
205 m_runbooksHasBeenSet =
true;
206 m_runbooks.emplace_back(std::forward<RunbooksT>(value));
228 template <
typename TagsT = Aws::Vector<Tag>>
230 m_tagsHasBeenSet =
true;
231 m_tags = std::forward<TagsT>(value);
233 template <
typename TagsT = Aws::Vector<Tag>>
235 SetTags(std::forward<TagsT>(value));
238 template <
typename TagsT = Tag>
240 m_tagsHasBeenSet =
true;
241 m_tags.emplace_back(std::forward<TagsT>(value));
254 template <
typename ScheduledEndTimeT = Aws::Utils::DateTime>
256 m_scheduledEndTimeHasBeenSet =
true;
257 m_scheduledEndTime = std::forward<ScheduledEndTimeT>(value);
259 template <
typename ScheduledEndTimeT = Aws::Utils::DateTime>
274 template <
typename ChangeDetailsT = Aws::String>
276 m_changeDetailsHasBeenSet =
true;
277 m_changeDetails = std::forward<ChangeDetailsT>(value);
279 template <
typename ChangeDetailsT = Aws::String>
298 bool m_autoApprove{
false};
307 bool m_scheduledTimeHasBeenSet =
false;
308 bool m_documentNameHasBeenSet =
false;
309 bool m_documentVersionHasBeenSet =
false;
310 bool m_parametersHasBeenSet =
false;
311 bool m_changeRequestNameHasBeenSet =
false;
312 bool m_clientTokenHasBeenSet =
false;
313 bool m_autoApproveHasBeenSet =
false;
314 bool m_runbooksHasBeenSet =
false;
315 bool m_tagsHasBeenSet =
false;
316 bool m_scheduledEndTimeHasBeenSet =
false;
317 bool m_changeDetailsHasBeenSet =
false;
AWS_SSM_API StartChangeRequestExecutionRequest()=default
void SetRunbooks(RunbooksT &&value)
StartChangeRequestExecutionRequest & WithRunbooks(RunbooksT &&value)
bool DocumentNameHasBeenSet() const
bool TagsHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetChangeRequestName() const
virtual const char * GetServiceRequestName() const override
StartChangeRequestExecutionRequest & AddRunbooks(RunbooksT &&value)
const Aws::String & GetChangeDetails() const
StartChangeRequestExecutionRequest & WithChangeRequestName(ChangeRequestNameT &&value)
const Aws::Vector< Runbook > & GetRunbooks() const
void SetClientToken(ClientTokenT &&value)
void SetChangeRequestName(ChangeRequestNameT &&value)
bool ScheduledTimeHasBeenSet() const
AWS_SSM_API Aws::String SerializePayload() const override
void SetChangeDetails(ChangeDetailsT &&value)
bool ScheduledEndTimeHasBeenSet() const
const Aws::String & GetDocumentName() const
void SetDocumentVersion(DocumentVersionT &&value)
StartChangeRequestExecutionRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::Utils::DateTime & GetScheduledTime() const
StartChangeRequestExecutionRequest & WithParameters(ParametersT &&value)
bool RunbooksHasBeenSet() const
StartChangeRequestExecutionRequest & WithChangeDetails(ChangeDetailsT &&value)
StartChangeRequestExecutionRequest & WithDocumentVersion(DocumentVersionT &&value)
bool ChangeRequestNameHasBeenSet() const
StartChangeRequestExecutionRequest & WithScheduledEndTime(ScheduledEndTimeT &&value)
bool GetAutoApprove() const
bool AutoApproveHasBeenSet() const
StartChangeRequestExecutionRequest & AddTags(TagsT &&value)
bool DocumentVersionHasBeenSet() const
const Aws::Utils::DateTime & GetScheduledEndTime() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
const Aws::String & GetDocumentVersion() const
StartChangeRequestExecutionRequest & WithClientToken(ClientTokenT &&value)
bool ChangeDetailsHasBeenSet() const
void SetParameters(ParametersT &&value)
void SetDocumentName(DocumentNameT &&value)
bool ClientTokenHasBeenSet() const
void SetAutoApprove(bool value)
const Aws::String & GetClientToken() const
StartChangeRequestExecutionRequest & WithAutoApprove(bool value)
StartChangeRequestExecutionRequest & WithTags(TagsT &&value)
void SetScheduledEndTime(ScheduledEndTimeT &&value)
bool ParametersHasBeenSet() const
void SetScheduledTime(ScheduledTimeT &&value)
void SetTags(TagsT &&value)
StartChangeRequestExecutionRequest & WithDocumentName(DocumentNameT &&value)
StartChangeRequestExecutionRequest & WithScheduledTime(ScheduledTimeT &&value)
const Aws::Vector< Tag > & GetTags() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector