AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResponsePlanResult.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm-incidents/model/ChatChannel.h>
11#include <aws/ssm-incidents/model/IncidentTemplate.h>
12#include <aws/ssm-incidents/model/Action.h>
13#include <aws/ssm-incidents/model/Integration.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SSMIncidents
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SSMINCIDENTS_API GetResponsePlanResult();
38
39
41
45 inline const Aws::Vector<Action>& GetActions() const{ return m_actions; }
46 inline void SetActions(const Aws::Vector<Action>& value) { m_actions = value; }
47 inline void SetActions(Aws::Vector<Action>&& value) { m_actions = std::move(value); }
48 inline GetResponsePlanResult& WithActions(const Aws::Vector<Action>& value) { SetActions(value); return *this;}
49 inline GetResponsePlanResult& WithActions(Aws::Vector<Action>&& value) { SetActions(std::move(value)); return *this;}
50 inline GetResponsePlanResult& AddActions(const Action& value) { m_actions.push_back(value); return *this; }
51 inline GetResponsePlanResult& AddActions(Action&& value) { m_actions.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::String& GetArn() const{ return m_arn; }
59 inline void SetArn(const Aws::String& value) { m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arn.assign(value); }
62 inline GetResponsePlanResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline GetResponsePlanResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline GetResponsePlanResult& WithArn(const char* value) { SetArn(value); return *this;}
66
68
71 inline const ChatChannel& GetChatChannel() const{ return m_chatChannel; }
72 inline void SetChatChannel(const ChatChannel& value) { m_chatChannel = value; }
73 inline void SetChatChannel(ChatChannel&& value) { m_chatChannel = std::move(value); }
74 inline GetResponsePlanResult& WithChatChannel(const ChatChannel& value) { SetChatChannel(value); return *this;}
75 inline GetResponsePlanResult& WithChatChannel(ChatChannel&& value) { SetChatChannel(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
83 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
84 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
85 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
86 inline GetResponsePlanResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
87 inline GetResponsePlanResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
88 inline GetResponsePlanResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
90
92
96 inline const Aws::Vector<Aws::String>& GetEngagements() const{ return m_engagements; }
97 inline void SetEngagements(const Aws::Vector<Aws::String>& value) { m_engagements = value; }
98 inline void SetEngagements(Aws::Vector<Aws::String>&& value) { m_engagements = std::move(value); }
100 inline GetResponsePlanResult& WithEngagements(Aws::Vector<Aws::String>&& value) { SetEngagements(std::move(value)); return *this;}
101 inline GetResponsePlanResult& AddEngagements(const Aws::String& value) { m_engagements.push_back(value); return *this; }
102 inline GetResponsePlanResult& AddEngagements(Aws::String&& value) { m_engagements.push_back(std::move(value)); return *this; }
103 inline GetResponsePlanResult& AddEngagements(const char* value) { m_engagements.push_back(value); return *this; }
105
107
110 inline const IncidentTemplate& GetIncidentTemplate() const{ return m_incidentTemplate; }
111 inline void SetIncidentTemplate(const IncidentTemplate& value) { m_incidentTemplate = value; }
112 inline void SetIncidentTemplate(IncidentTemplate&& value) { m_incidentTemplate = std::move(value); }
114 inline GetResponsePlanResult& WithIncidentTemplate(IncidentTemplate&& value) { SetIncidentTemplate(std::move(value)); return *this;}
116
118
122 inline const Aws::Vector<Integration>& GetIntegrations() const{ return m_integrations; }
123 inline void SetIntegrations(const Aws::Vector<Integration>& value) { m_integrations = value; }
124 inline void SetIntegrations(Aws::Vector<Integration>&& value) { m_integrations = std::move(value); }
126 inline GetResponsePlanResult& WithIntegrations(Aws::Vector<Integration>&& value) { SetIntegrations(std::move(value)); return *this;}
127 inline GetResponsePlanResult& AddIntegrations(const Integration& value) { m_integrations.push_back(value); return *this; }
128 inline GetResponsePlanResult& AddIntegrations(Integration&& value) { m_integrations.push_back(std::move(value)); return *this; }
130
132
136 inline const Aws::String& GetName() const{ return m_name; }
137 inline void SetName(const Aws::String& value) { m_name = value; }
138 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
139 inline void SetName(const char* value) { m_name.assign(value); }
140 inline GetResponsePlanResult& WithName(const Aws::String& value) { SetName(value); return *this;}
141 inline GetResponsePlanResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
142 inline GetResponsePlanResult& WithName(const char* value) { SetName(value); return *this;}
144
146
147 inline const Aws::String& GetRequestId() const{ return m_requestId; }
148 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
149 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
150 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
151 inline GetResponsePlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
152 inline GetResponsePlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
153 inline GetResponsePlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
155 private:
156
157 Aws::Vector<Action> m_actions;
158
159 Aws::String m_arn;
160
161 ChatChannel m_chatChannel;
162
163 Aws::String m_displayName;
164
165 Aws::Vector<Aws::String> m_engagements;
166
167 IncidentTemplate m_incidentTemplate;
168
169 Aws::Vector<Integration> m_integrations;
170
171 Aws::String m_name;
172
173 Aws::String m_requestId;
174 };
175
176} // namespace Model
177} // namespace SSMIncidents
178} // namespace Aws
GetResponsePlanResult & WithRequestId(const char *value)
GetResponsePlanResult & WithIncidentTemplate(IncidentTemplate &&value)
void SetEngagements(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Action > & GetActions() const
AWS_SSMINCIDENTS_API GetResponsePlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResponsePlanResult & WithArn(const Aws::String &value)
GetResponsePlanResult & WithIntegrations(const Aws::Vector< Integration > &value)
GetResponsePlanResult & WithEngagements(Aws::Vector< Aws::String > &&value)
GetResponsePlanResult & AddEngagements(const char *value)
GetResponsePlanResult & AddIntegrations(Integration &&value)
void SetEngagements(Aws::Vector< Aws::String > &&value)
GetResponsePlanResult & AddActions(Action &&value)
GetResponsePlanResult & WithIncidentTemplate(const IncidentTemplate &value)
void SetActions(Aws::Vector< Action > &&value)
void SetIncidentTemplate(const IncidentTemplate &value)
GetResponsePlanResult & WithChatChannel(ChatChannel &&value)
GetResponsePlanResult & WithName(Aws::String &&value)
GetResponsePlanResult & WithEngagements(const Aws::Vector< Aws::String > &value)
GetResponsePlanResult & WithRequestId(Aws::String &&value)
GetResponsePlanResult & WithName(const char *value)
GetResponsePlanResult & WithDisplayName(const Aws::String &value)
GetResponsePlanResult & WithDisplayName(Aws::String &&value)
GetResponsePlanResult & AddActions(const Action &value)
AWS_SSMINCIDENTS_API GetResponsePlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResponsePlanResult & WithChatChannel(const ChatChannel &value)
GetResponsePlanResult & WithDisplayName(const char *value)
GetResponsePlanResult & AddEngagements(const Aws::String &value)
void SetIntegrations(Aws::Vector< Integration > &&value)
GetResponsePlanResult & AddIntegrations(const Integration &value)
const Aws::Vector< Integration > & GetIntegrations() const
const Aws::Vector< Aws::String > & GetEngagements() const
GetResponsePlanResult & AddEngagements(Aws::String &&value)
GetResponsePlanResult & WithIntegrations(Aws::Vector< Integration > &&value)
GetResponsePlanResult & WithRequestId(const Aws::String &value)
void SetIntegrations(const Aws::Vector< Integration > &value)
GetResponsePlanResult & WithArn(Aws::String &&value)
GetResponsePlanResult & WithActions(Aws::Vector< Action > &&value)
GetResponsePlanResult & WithName(const Aws::String &value)
GetResponsePlanResult & WithActions(const Aws::Vector< Action > &value)
void SetActions(const Aws::Vector< Action > &value)
GetResponsePlanResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue