AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResponsePlanRequest.h
1
6#pragma once
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>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace SSMIncidents
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_SSMINCIDENTS_API UpdateResponsePlanRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateResponsePlan"; }
38
39 AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override;
40
41
43
47 inline const Aws::Vector<Action>& GetActions() const{ return m_actions; }
48 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
49 inline void SetActions(const Aws::Vector<Action>& value) { m_actionsHasBeenSet = true; m_actions = value; }
50 inline void SetActions(Aws::Vector<Action>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
51 inline UpdateResponsePlanRequest& WithActions(const Aws::Vector<Action>& value) { SetActions(value); return *this;}
52 inline UpdateResponsePlanRequest& WithActions(Aws::Vector<Action>&& value) { SetActions(std::move(value)); return *this;}
53 inline UpdateResponsePlanRequest& AddActions(const Action& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
54 inline UpdateResponsePlanRequest& AddActions(Action&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline UpdateResponsePlanRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline UpdateResponsePlanRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline UpdateResponsePlanRequest& WithArn(const char* value) { SetArn(value); return *this;}
70
72
77 inline const ChatChannel& GetChatChannel() const{ return m_chatChannel; }
78 inline bool ChatChannelHasBeenSet() const { return m_chatChannelHasBeenSet; }
79 inline void SetChatChannel(const ChatChannel& value) { m_chatChannelHasBeenSet = true; m_chatChannel = value; }
80 inline void SetChatChannel(ChatChannel&& value) { m_chatChannelHasBeenSet = true; m_chatChannel = std::move(value); }
81 inline UpdateResponsePlanRequest& WithChatChannel(const ChatChannel& value) { SetChatChannel(value); return *this;}
82 inline UpdateResponsePlanRequest& WithChatChannel(ChatChannel&& value) { SetChatChannel(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
91 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
92 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
93 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
94 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
95 inline UpdateResponsePlanRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
96 inline UpdateResponsePlanRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
97 inline UpdateResponsePlanRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
99
101
105 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
106 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
107 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
108 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
109 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
110 inline UpdateResponsePlanRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
111 inline UpdateResponsePlanRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
112 inline UpdateResponsePlanRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
114
116
120 inline const Aws::Vector<Aws::String>& GetEngagements() const{ return m_engagements; }
121 inline bool EngagementsHasBeenSet() const { return m_engagementsHasBeenSet; }
122 inline void SetEngagements(const Aws::Vector<Aws::String>& value) { m_engagementsHasBeenSet = true; m_engagements = value; }
123 inline void SetEngagements(Aws::Vector<Aws::String>&& value) { m_engagementsHasBeenSet = true; m_engagements = std::move(value); }
125 inline UpdateResponsePlanRequest& WithEngagements(Aws::Vector<Aws::String>&& value) { SetEngagements(std::move(value)); return *this;}
126 inline UpdateResponsePlanRequest& AddEngagements(const Aws::String& value) { m_engagementsHasBeenSet = true; m_engagements.push_back(value); return *this; }
127 inline UpdateResponsePlanRequest& AddEngagements(Aws::String&& value) { m_engagementsHasBeenSet = true; m_engagements.push_back(std::move(value)); return *this; }
128 inline UpdateResponsePlanRequest& AddEngagements(const char* value) { m_engagementsHasBeenSet = true; m_engagements.push_back(value); return *this; }
130
132
136 inline const Aws::String& GetIncidentTemplateDedupeString() const{ return m_incidentTemplateDedupeString; }
137 inline bool IncidentTemplateDedupeStringHasBeenSet() const { return m_incidentTemplateDedupeStringHasBeenSet; }
138 inline void SetIncidentTemplateDedupeString(const Aws::String& value) { m_incidentTemplateDedupeStringHasBeenSet = true; m_incidentTemplateDedupeString = value; }
139 inline void SetIncidentTemplateDedupeString(Aws::String&& value) { m_incidentTemplateDedupeStringHasBeenSet = true; m_incidentTemplateDedupeString = std::move(value); }
140 inline void SetIncidentTemplateDedupeString(const char* value) { m_incidentTemplateDedupeStringHasBeenSet = true; m_incidentTemplateDedupeString.assign(value); }
145
147
155 inline int GetIncidentTemplateImpact() const{ return m_incidentTemplateImpact; }
156 inline bool IncidentTemplateImpactHasBeenSet() const { return m_incidentTemplateImpactHasBeenSet; }
157 inline void SetIncidentTemplateImpact(int value) { m_incidentTemplateImpactHasBeenSet = true; m_incidentTemplateImpact = value; }
160
162
166 inline const Aws::Vector<NotificationTargetItem>& GetIncidentTemplateNotificationTargets() const{ return m_incidentTemplateNotificationTargets; }
167 inline bool IncidentTemplateNotificationTargetsHasBeenSet() const { return m_incidentTemplateNotificationTargetsHasBeenSet; }
168 inline void SetIncidentTemplateNotificationTargets(const Aws::Vector<NotificationTargetItem>& value) { m_incidentTemplateNotificationTargetsHasBeenSet = true; m_incidentTemplateNotificationTargets = value; }
169 inline void SetIncidentTemplateNotificationTargets(Aws::Vector<NotificationTargetItem>&& value) { m_incidentTemplateNotificationTargetsHasBeenSet = true; m_incidentTemplateNotificationTargets = std::move(value); }
172 inline UpdateResponsePlanRequest& AddIncidentTemplateNotificationTargets(const NotificationTargetItem& value) { m_incidentTemplateNotificationTargetsHasBeenSet = true; m_incidentTemplateNotificationTargets.push_back(value); return *this; }
173 inline UpdateResponsePlanRequest& AddIncidentTemplateNotificationTargets(NotificationTargetItem&& value) { m_incidentTemplateNotificationTargetsHasBeenSet = true; m_incidentTemplateNotificationTargets.push_back(std::move(value)); return *this; }
175
177
181 inline const Aws::String& GetIncidentTemplateSummary() const{ return m_incidentTemplateSummary; }
182 inline bool IncidentTemplateSummaryHasBeenSet() const { return m_incidentTemplateSummaryHasBeenSet; }
183 inline void SetIncidentTemplateSummary(const Aws::String& value) { m_incidentTemplateSummaryHasBeenSet = true; m_incidentTemplateSummary = value; }
184 inline void SetIncidentTemplateSummary(Aws::String&& value) { m_incidentTemplateSummaryHasBeenSet = true; m_incidentTemplateSummary = std::move(value); }
185 inline void SetIncidentTemplateSummary(const char* value) { m_incidentTemplateSummaryHasBeenSet = true; m_incidentTemplateSummary.assign(value); }
188 inline UpdateResponsePlanRequest& WithIncidentTemplateSummary(const char* value) { SetIncidentTemplateSummary(value); return *this;}
190
192
198 inline const Aws::Map<Aws::String, Aws::String>& GetIncidentTemplateTags() const{ return m_incidentTemplateTags; }
199 inline bool IncidentTemplateTagsHasBeenSet() const { return m_incidentTemplateTagsHasBeenSet; }
200 inline void SetIncidentTemplateTags(const Aws::Map<Aws::String, Aws::String>& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags = value; }
201 inline void SetIncidentTemplateTags(Aws::Map<Aws::String, Aws::String>&& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags = std::move(value); }
204 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(const Aws::String& key, const Aws::String& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(key, value); return *this; }
205 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(Aws::String&& key, const Aws::String& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(std::move(key), value); return *this; }
206 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(const Aws::String& key, Aws::String&& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(key, std::move(value)); return *this; }
207 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(Aws::String&& key, Aws::String&& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(std::move(key), std::move(value)); return *this; }
208 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(const char* key, Aws::String&& value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(key, std::move(value)); return *this; }
209 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(Aws::String&& key, const char* value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(std::move(key), value); return *this; }
210 inline UpdateResponsePlanRequest& AddIncidentTemplateTags(const char* key, const char* value) { m_incidentTemplateTagsHasBeenSet = true; m_incidentTemplateTags.emplace(key, value); return *this; }
212
214
217 inline const Aws::String& GetIncidentTemplateTitle() const{ return m_incidentTemplateTitle; }
218 inline bool IncidentTemplateTitleHasBeenSet() const { return m_incidentTemplateTitleHasBeenSet; }
219 inline void SetIncidentTemplateTitle(const Aws::String& value) { m_incidentTemplateTitleHasBeenSet = true; m_incidentTemplateTitle = value; }
220 inline void SetIncidentTemplateTitle(Aws::String&& value) { m_incidentTemplateTitleHasBeenSet = true; m_incidentTemplateTitle = std::move(value); }
221 inline void SetIncidentTemplateTitle(const char* value) { m_incidentTemplateTitleHasBeenSet = true; m_incidentTemplateTitle.assign(value); }
224 inline UpdateResponsePlanRequest& WithIncidentTemplateTitle(const char* value) { SetIncidentTemplateTitle(value); return *this;}
226
228
231 inline const Aws::Vector<Integration>& GetIntegrations() const{ return m_integrations; }
232 inline bool IntegrationsHasBeenSet() const { return m_integrationsHasBeenSet; }
233 inline void SetIntegrations(const Aws::Vector<Integration>& value) { m_integrationsHasBeenSet = true; m_integrations = value; }
234 inline void SetIntegrations(Aws::Vector<Integration>&& value) { m_integrationsHasBeenSet = true; m_integrations = std::move(value); }
236 inline UpdateResponsePlanRequest& WithIntegrations(Aws::Vector<Integration>&& value) { SetIntegrations(std::move(value)); return *this;}
237 inline UpdateResponsePlanRequest& AddIntegrations(const Integration& value) { m_integrationsHasBeenSet = true; m_integrations.push_back(value); return *this; }
238 inline UpdateResponsePlanRequest& AddIntegrations(Integration&& value) { m_integrationsHasBeenSet = true; m_integrations.push_back(std::move(value)); return *this; }
240 private:
241
242 Aws::Vector<Action> m_actions;
243 bool m_actionsHasBeenSet = false;
244
245 Aws::String m_arn;
246 bool m_arnHasBeenSet = false;
247
248 ChatChannel m_chatChannel;
249 bool m_chatChannelHasBeenSet = false;
250
251 Aws::String m_clientToken;
252 bool m_clientTokenHasBeenSet = false;
253
254 Aws::String m_displayName;
255 bool m_displayNameHasBeenSet = false;
256
257 Aws::Vector<Aws::String> m_engagements;
258 bool m_engagementsHasBeenSet = false;
259
260 Aws::String m_incidentTemplateDedupeString;
261 bool m_incidentTemplateDedupeStringHasBeenSet = false;
262
263 int m_incidentTemplateImpact;
264 bool m_incidentTemplateImpactHasBeenSet = false;
265
266 Aws::Vector<NotificationTargetItem> m_incidentTemplateNotificationTargets;
267 bool m_incidentTemplateNotificationTargetsHasBeenSet = false;
268
269 Aws::String m_incidentTemplateSummary;
270 bool m_incidentTemplateSummaryHasBeenSet = false;
271
272 Aws::Map<Aws::String, Aws::String> m_incidentTemplateTags;
273 bool m_incidentTemplateTagsHasBeenSet = false;
274
275 Aws::String m_incidentTemplateTitle;
276 bool m_incidentTemplateTitleHasBeenSet = false;
277
278 Aws::Vector<Integration> m_integrations;
279 bool m_integrationsHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace SSMIncidents
284} // namespace Aws
UpdateResponsePlanRequest & WithIncidentTemplateDedupeString(const char *value)
UpdateResponsePlanRequest & WithIncidentTemplateTitle(const Aws::String &value)
UpdateResponsePlanRequest & WithArn(const Aws::String &value)
UpdateResponsePlanRequest & WithIntegrations(const Aws::Vector< Integration > &value)
UpdateResponsePlanRequest & WithIncidentTemplateTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateResponsePlanRequest & AddEngagements(Aws::String &&value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
UpdateResponsePlanRequest & WithArn(Aws::String &&value)
const Aws::Vector< NotificationTargetItem > & GetIncidentTemplateNotificationTargets() const
UpdateResponsePlanRequest & WithIncidentTemplateTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateResponsePlanRequest & AddActions(Action &&value)
UpdateResponsePlanRequest & WithIncidentTemplateSummary(const Aws::String &value)
UpdateResponsePlanRequest & WithDisplayName(Aws::String &&value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(const Aws::String &key, Aws::String &&value)
UpdateResponsePlanRequest & WithChatChannel(ChatChannel &&value)
UpdateResponsePlanRequest & WithClientToken(const char *value)
UpdateResponsePlanRequest & WithIncidentTemplateSummary(const char *value)
UpdateResponsePlanRequest & WithChatChannel(const ChatChannel &value)
UpdateResponsePlanRequest & WithIncidentTemplateSummary(Aws::String &&value)
UpdateResponsePlanRequest & WithClientToken(Aws::String &&value)
UpdateResponsePlanRequest & AddEngagements(const Aws::String &value)
UpdateResponsePlanRequest & WithDisplayName(const char *value)
UpdateResponsePlanRequest & WithDisplayName(const Aws::String &value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(const char *key, Aws::String &&value)
const Aws::Vector< Integration > & GetIntegrations() const
void SetIncidentTemplateTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(Aws::String &&key, const char *value)
void SetIncidentTemplateNotificationTargets(const Aws::Vector< NotificationTargetItem > &value)
UpdateResponsePlanRequest & WithIncidentTemplateDedupeString(const Aws::String &value)
void SetIntegrations(const Aws::Vector< Integration > &value)
UpdateResponsePlanRequest & WithIntegrations(Aws::Vector< Integration > &&value)
UpdateResponsePlanRequest & AddIncidentTemplateNotificationTargets(const NotificationTargetItem &value)
void SetIncidentTemplateNotificationTargets(Aws::Vector< NotificationTargetItem > &&value)
void SetActions(const Aws::Vector< Action > &value)
const Aws::Vector< Aws::String > & GetEngagements() const
UpdateResponsePlanRequest & WithClientToken(const Aws::String &value)
UpdateResponsePlanRequest & AddIncidentTemplateNotificationTargets(NotificationTargetItem &&value)
void SetIncidentTemplateTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateResponsePlanRequest & WithIncidentTemplateTitle(const char *value)
UpdateResponsePlanRequest & WithEngagements(Aws::Vector< Aws::String > &&value)
UpdateResponsePlanRequest & AddEngagements(const char *value)
UpdateResponsePlanRequest & WithIncidentTemplateImpact(int value)
UpdateResponsePlanRequest & AddIntegrations(const Integration &value)
UpdateResponsePlanRequest & WithArn(const char *value)
UpdateResponsePlanRequest & AddIntegrations(Integration &&value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(const Aws::String &key, const Aws::String &value)
void SetEngagements(const Aws::Vector< Aws::String > &value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(Aws::String &&key, const Aws::String &value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(Aws::String &&key, Aws::String &&value)
UpdateResponsePlanRequest & WithIncidentTemplateTitle(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetEngagements(Aws::Vector< Aws::String > &&value)
UpdateResponsePlanRequest & AddIncidentTemplateTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetIncidentTemplateTags() const
UpdateResponsePlanRequest & WithIncidentTemplateNotificationTargets(Aws::Vector< NotificationTargetItem > &&value)
UpdateResponsePlanRequest & WithActions(Aws::Vector< Action > &&value)
void SetIntegrations(Aws::Vector< Integration > &&value)
UpdateResponsePlanRequest & WithIncidentTemplateNotificationTargets(const Aws::Vector< NotificationTargetItem > &value)
UpdateResponsePlanRequest & WithActions(const Aws::Vector< Action > &value)
UpdateResponsePlanRequest & WithEngagements(const Aws::Vector< Aws::String > &value)
UpdateResponsePlanRequest & AddActions(const Action &value)
UpdateResponsePlanRequest & WithIncidentTemplateDedupeString(Aws::String &&value)
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