7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/MitigationActionType.h>
10#include <aws/iot/model/MitigationActionParams.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ActionNameT = Aws::String>
44 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
45 template<
typename ActionNameT = Aws::String>
63 template<
typename ActionArnT = Aws::String>
64 void SetActionArn(ActionArnT&& value) { m_actionArnHasBeenSet =
true; m_actionArn = std::forward<ActionArnT>(value); }
65 template<
typename ActionArnT = Aws::String>
74 template<
typename ActionIdT = Aws::String>
75 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
76 template<
typename ActionIdT = Aws::String>
85 template<
typename RoleArnT = Aws::String>
86 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
87 template<
typename RoleArnT = Aws::String>
97 template<
typename ActionParamsT = MitigationActionParams>
98 void SetActionParams(ActionParamsT&& value) { m_actionParamsHasBeenSet =
true; m_actionParams = std::forward<ActionParamsT>(value); }
99 template<
typename ActionParamsT = MitigationActionParams>
109 template<
typename CreationDateT = Aws::Utils::DateTime>
110 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
111 template<
typename CreationDateT = Aws::Utils::DateTime>
120 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
121 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
122 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
129 template<
typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
131 template<
typename RequestIdT = Aws::String>
137 bool m_actionNameHasBeenSet =
false;
140 bool m_actionTypeHasBeenSet =
false;
143 bool m_actionArnHasBeenSet =
false;
146 bool m_actionIdHasBeenSet =
false;
149 bool m_roleArnHasBeenSet =
false;
151 MitigationActionParams m_actionParams;
152 bool m_actionParamsHasBeenSet =
false;
155 bool m_creationDateHasBeenSet =
false;
158 bool m_lastModifiedDateHasBeenSet =
false;
161 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
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