7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm-incidents/model/ChatChannel.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm-incidents/model/Action.h>
14#include <aws/ssm-incidents/model/NotificationTargetItem.h>
15#include <aws/ssm-incidents/model/Integration.h>
17#include <aws/core/utils/UUID.h>
49 template<
typename ActionsT = Aws::Vector<Action>>
50 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
51 template<
typename ActionsT = Aws::Vector<Action>>
53 template<
typename ActionsT = Action>
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
77 template<
typename ChatChannelT = ChatChannel>
78 void SetChatChannel(ChatChannelT&& value) { m_chatChannelHasBeenSet =
true; m_chatChannel = std::forward<ChatChannelT>(value); }
79 template<
typename ChatChannelT = ChatChannel>
90 template<
typename ClientTokenT = Aws::String>
91 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
92 template<
typename ClientTokenT = Aws::String>
103 template<
typename DisplayNameT = Aws::String>
104 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
105 template<
typename DisplayNameT = Aws::String>
116 template<
typename EngagementsT = Aws::Vector<Aws::String>>
117 void SetEngagements(EngagementsT&& value) { m_engagementsHasBeenSet =
true; m_engagements = std::forward<EngagementsT>(value); }
118 template<
typename EngagementsT = Aws::Vector<Aws::String>>
120 template<
typename EngagementsT = Aws::String>
131 template<
typename Inc
identTemplateDedupeStringT = Aws::String>
132 void SetIncidentTemplateDedupeString(IncidentTemplateDedupeStringT&& value) { m_incidentTemplateDedupeStringHasBeenSet =
true; m_incidentTemplateDedupeString = std::forward<IncidentTemplateDedupeStringT>(value); }
133 template<
typename Inc
identTemplateDedupeStringT = Aws::String>
159 template<
typename Inc
identTemplateNotificationTargetsT = Aws::Vector<NotificationTargetItem>>
160 void SetIncidentTemplateNotificationTargets(IncidentTemplateNotificationTargetsT&& value) { m_incidentTemplateNotificationTargetsHasBeenSet =
true; m_incidentTemplateNotificationTargets = std::forward<IncidentTemplateNotificationTargetsT>(value); }
161 template<
typename Inc
identTemplateNotificationTargetsT = Aws::Vector<NotificationTargetItem>>
163 template<
typename Inc
identTemplateNotificationTargetsT = NotificationTargetItem>
174 template<
typename Inc
identTemplateSummaryT = Aws::String>
175 void SetIncidentTemplateSummary(IncidentTemplateSummaryT&& value) { m_incidentTemplateSummaryHasBeenSet =
true; m_incidentTemplateSummary = std::forward<IncidentTemplateSummaryT>(value); }
176 template<
typename Inc
identTemplateSummaryT = Aws::String>
189 template<
typename Inc
identTemplateTagsT = Aws::Map<Aws::String, Aws::String>>
190 void SetIncidentTemplateTags(IncidentTemplateTagsT&& value) { m_incidentTemplateTagsHasBeenSet =
true; m_incidentTemplateTags = std::forward<IncidentTemplateTagsT>(value); }
191 template<
typename Inc
identTemplateTagsT = Aws::Map<Aws::String, Aws::String>>
193 template<
typename Inc
identTemplateTagsKeyT = Aws::String,
typename Inc
identTemplateTagsValueT = Aws::String>
195 m_incidentTemplateTagsHasBeenSet =
true; m_incidentTemplateTags.emplace(std::forward<IncidentTemplateTagsKeyT>(key), std::forward<IncidentTemplateTagsValueT>(value));
return *
this;
205 template<
typename Inc
identTemplateTitleT = Aws::String>
206 void SetIncidentTemplateTitle(IncidentTemplateTitleT&& value) { m_incidentTemplateTitleHasBeenSet =
true; m_incidentTemplateTitle = std::forward<IncidentTemplateTitleT>(value); }
207 template<
typename Inc
identTemplateTitleT = Aws::String>
217 template<
typename IntegrationsT = Aws::Vector<Integration>>
218 void SetIntegrations(IntegrationsT&& value) { m_integrationsHasBeenSet =
true; m_integrations = std::forward<IntegrationsT>(value); }
219 template<
typename IntegrationsT = Aws::Vector<Integration>>
221 template<
typename IntegrationsT = Integration>
227 bool m_actionsHasBeenSet =
false;
230 bool m_arnHasBeenSet =
false;
233 bool m_chatChannelHasBeenSet =
false;
236 bool m_clientTokenHasBeenSet =
true;
239 bool m_displayNameHasBeenSet =
false;
242 bool m_engagementsHasBeenSet =
false;
245 bool m_incidentTemplateDedupeStringHasBeenSet =
false;
247 int m_incidentTemplateImpact{0};
248 bool m_incidentTemplateImpactHasBeenSet =
false;
251 bool m_incidentTemplateNotificationTargetsHasBeenSet =
false;
254 bool m_incidentTemplateSummaryHasBeenSet =
false;
257 bool m_incidentTemplateTagsHasBeenSet =
false;
260 bool m_incidentTemplateTitleHasBeenSet =
false;
263 bool m_integrationsHasBeenSet =
false;
UpdateResponsePlanRequest & AddIntegrations(IntegrationsT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
AWS_SSMINCIDENTS_API UpdateResponsePlanRequest()=default
UpdateResponsePlanRequest & WithIncidentTemplateNotificationTargets(IncidentTemplateNotificationTargetsT &&value)
const Aws::Vector< NotificationTargetItem > & GetIncidentTemplateNotificationTargets() const
bool IntegrationsHasBeenSet() const
void SetActions(ActionsT &&value)
UpdateResponsePlanRequest & WithActions(ActionsT &&value)
UpdateResponsePlanRequest & WithIncidentTemplateSummary(IncidentTemplateSummaryT &&value)
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
UpdateResponsePlanRequest & WithDisplayName(DisplayNameT &&value)
void SetIncidentTemplateDedupeString(IncidentTemplateDedupeStringT &&value)
bool IncidentTemplateTagsHasBeenSet() const
const Aws::String & GetDisplayName() const
UpdateResponsePlanRequest & WithIntegrations(IntegrationsT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetIntegrations(IntegrationsT &&value)
const Aws::String & GetClientToken() const
bool ChatChannelHasBeenSet() const
UpdateResponsePlanRequest & WithIncidentTemplateDedupeString(IncidentTemplateDedupeStringT &&value)
void SetEngagements(EngagementsT &&value)
void SetIncidentTemplateSummary(IncidentTemplateSummaryT &&value)
const Aws::Vector< Integration > & GetIntegrations() const
bool IncidentTemplateSummaryHasBeenSet() const
bool ArnHasBeenSet() const
const ChatChannel & GetChatChannel() const
const Aws::Vector< Aws::String > & GetEngagements() const
bool IncidentTemplateImpactHasBeenSet() const
UpdateResponsePlanRequest & WithIncidentTemplateTags(IncidentTemplateTagsT &&value)
UpdateResponsePlanRequest & WithIncidentTemplateImpact(int value)
bool IncidentTemplateTitleHasBeenSet() const
const Aws::String & GetIncidentTemplateTitle() const
const Aws::String & GetIncidentTemplateSummary() const
bool DisplayNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateResponsePlanRequest & WithArn(ArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetIncidentTemplateTags() const
void SetIncidentTemplateTitle(IncidentTemplateTitleT &&value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(IncidentTemplateTagsKeyT &&key, IncidentTemplateTagsValueT &&value)
bool IncidentTemplateNotificationTargetsHasBeenSet() const
int GetIncidentTemplateImpact() const
void SetChatChannel(ChatChannelT &&value)
UpdateResponsePlanRequest & WithChatChannel(ChatChannelT &&value)
UpdateResponsePlanRequest & AddActions(ActionsT &&value)
bool ActionsHasBeenSet() const
bool EngagementsHasBeenSet() const
void SetIncidentTemplateTags(IncidentTemplateTagsT &&value)
UpdateResponsePlanRequest & WithEngagements(EngagementsT &&value)
bool IncidentTemplateDedupeStringHasBeenSet() const
UpdateResponsePlanRequest & WithIncidentTemplateTitle(IncidentTemplateTitleT &&value)
UpdateResponsePlanRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
UpdateResponsePlanRequest & AddEngagements(EngagementsT &&value)
void SetIncidentTemplateNotificationTargets(IncidentTemplateNotificationTargetsT &&value)
void SetIncidentTemplateImpact(int value)
const Aws::Vector< Action > & GetActions() const
const Aws::String & GetIncidentTemplateDedupeString() const
UpdateResponsePlanRequest & AddIncidentTemplateNotificationTargets(IncidentTemplateNotificationTargetsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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