7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/MitigationActionParams.h>
12#include <aws/iot/model/MitigationActionType.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename ActionNameT = Aws::String>
40 m_actionNameHasBeenSet =
true;
41 m_actionName = std::forward<ActionNameT>(value);
43 template <
typename ActionNameT = Aws::String>
56 m_actionTypeHasBeenSet =
true;
70 template <
typename ActionArnT = Aws::String>
72 m_actionArnHasBeenSet =
true;
73 m_actionArn = std::forward<ActionArnT>(value);
75 template <
typename ActionArnT = Aws::String>
87 template <
typename ActionIdT = Aws::String>
89 m_actionIdHasBeenSet =
true;
90 m_actionId = std::forward<ActionIdT>(value);
92 template <
typename ActionIdT = Aws::String>
104 template <
typename RoleArnT = Aws::String>
106 m_roleArnHasBeenSet =
true;
107 m_roleArn = std::forward<RoleArnT>(value);
109 template <
typename RoleArnT = Aws::String>
122 template <
typename ActionParamsT = MitigationActionParams>
124 m_actionParamsHasBeenSet =
true;
125 m_actionParams = std::forward<ActionParamsT>(value);
127 template <
typename ActionParamsT = MitigationActionParams>
140 template <
typename CreationDateT = Aws::Utils::DateTime>
142 m_creationDateHasBeenSet =
true;
143 m_creationDate = std::forward<CreationDateT>(value);
145 template <
typename CreationDateT = Aws::Utils::DateTime>
157 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
159 m_lastModifiedDateHasBeenSet =
true;
160 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
162 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
172 template <
typename RequestIdT = Aws::String>
174 m_requestIdHasBeenSet =
true;
175 m_requestId = std::forward<RequestIdT>(value);
177 template <
typename RequestIdT = Aws::String>
196 MitigationActionParams m_actionParams;
204 bool m_actionNameHasBeenSet =
false;
205 bool m_actionTypeHasBeenSet =
false;
206 bool m_actionArnHasBeenSet =
false;
207 bool m_actionIdHasBeenSet =
false;
208 bool m_roleArnHasBeenSet =
false;
209 bool m_actionParamsHasBeenSet =
false;
210 bool m_creationDateHasBeenSet =
false;
211 bool m_lastModifiedDateHasBeenSet =
false;
212 bool m_requestIdHasBeenSet =
false;
void SetCreationDate(CreationDateT &&value)
MitigationActionType GetActionType() const
DescribeMitigationActionResult & WithRoleArn(RoleArnT &&value)
void SetActionType(MitigationActionType value)
void SetActionId(ActionIdT &&value)
void SetRequestId(RequestIdT &&value)
DescribeMitigationActionResult & WithActionType(MitigationActionType value)
DescribeMitigationActionResult & WithActionArn(ActionArnT &&value)
const Aws::String & GetActionId() const
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetActionParams(ActionParamsT &&value)
const MitigationActionParams & GetActionParams() const
const Aws::String & GetActionArn() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeMitigationActionResult & WithActionParams(ActionParamsT &&value)
AWS_IOT_API DescribeMitigationActionResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetActionName(ActionNameT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API DescribeMitigationActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMitigationActionResult & WithActionName(ActionNameT &&value)
const Aws::String & GetActionName() const
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
DescribeMitigationActionResult & WithRequestId(RequestIdT &&value)
DescribeMitigationActionResult & WithActionId(ActionIdT &&value)
DescribeMitigationActionResult & WithLastModifiedDate(LastModifiedDateT &&value)
void SetActionArn(ActionArnT &&value)
DescribeMitigationActionResult & WithCreationDate(CreationDateT &&value)
const Aws::String & GetRequestId() const
AWS_IOT_API DescribeMitigationActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue