AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeMitigationActionResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOT_API DescribeMitigationActionResult() = default;
36
37
39
42 inline const Aws::String& GetActionName() const { return m_actionName; }
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>
46 DescribeMitigationActionResult& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
48
50
53 inline MitigationActionType GetActionType() const { return m_actionType; }
54 inline void SetActionType(MitigationActionType value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
57
59
62 inline const Aws::String& GetActionArn() const { return m_actionArn; }
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>
66 DescribeMitigationActionResult& WithActionArn(ActionArnT&& value) { SetActionArn(std::forward<ActionArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetActionId() const { return m_actionId; }
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>
77 DescribeMitigationActionResult& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
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>
88 DescribeMitigationActionResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
90
92
96 inline const MitigationActionParams& GetActionParams() const { return m_actionParams; }
97 template<typename ActionParamsT = MitigationActionParams>
98 void SetActionParams(ActionParamsT&& value) { m_actionParamsHasBeenSet = true; m_actionParams = std::forward<ActionParamsT>(value); }
99 template<typename ActionParamsT = MitigationActionParams>
100 DescribeMitigationActionResult& WithActionParams(ActionParamsT&& value) { SetActionParams(std::forward<ActionParamsT>(value)); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
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>
112 DescribeMitigationActionResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
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>
123 DescribeMitigationActionResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
132 DescribeMitigationActionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
134 private:
135
136 Aws::String m_actionName;
137 bool m_actionNameHasBeenSet = false;
138
140 bool m_actionTypeHasBeenSet = false;
141
142 Aws::String m_actionArn;
143 bool m_actionArnHasBeenSet = false;
144
145 Aws::String m_actionId;
146 bool m_actionIdHasBeenSet = false;
147
148 Aws::String m_roleArn;
149 bool m_roleArnHasBeenSet = false;
150
151 MitigationActionParams m_actionParams;
152 bool m_actionParamsHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationDate{};
155 bool m_creationDateHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastModifiedDate{};
158 bool m_lastModifiedDateHasBeenSet = false;
159
160 Aws::String m_requestId;
161 bool m_requestIdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace IoT
166} // namespace Aws
DescribeMitigationActionResult & WithRoleArn(RoleArnT &&value)
DescribeMitigationActionResult & WithActionType(MitigationActionType value)
DescribeMitigationActionResult & WithActionArn(ActionArnT &&value)
DescribeMitigationActionResult & WithActionParams(ActionParamsT &&value)
AWS_IOT_API DescribeMitigationActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMitigationActionResult & WithActionName(ActionNameT &&value)
DescribeMitigationActionResult & WithRequestId(RequestIdT &&value)
DescribeMitigationActionResult & WithActionId(ActionIdT &&value)
DescribeMitigationActionResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeMitigationActionResult & WithCreationDate(CreationDateT &&value)
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