AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeMitigationActionResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoT
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetActionName() const{ return m_actionName; }
42 
46  inline void SetActionName(const Aws::String& value) { m_actionName = value; }
47 
51  inline void SetActionName(Aws::String&& value) { m_actionName = std::move(value); }
52 
56  inline void SetActionName(const char* value) { m_actionName.assign(value); }
57 
61  inline DescribeMitigationActionResult& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
62 
66  inline DescribeMitigationActionResult& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
67 
71  inline DescribeMitigationActionResult& WithActionName(const char* value) { SetActionName(value); return *this;}
72 
73 
77  inline const MitigationActionType& GetActionType() const{ return m_actionType; }
78 
82  inline void SetActionType(const MitigationActionType& value) { m_actionType = value; }
83 
87  inline void SetActionType(MitigationActionType&& value) { m_actionType = std::move(value); }
88 
92  inline DescribeMitigationActionResult& WithActionType(const MitigationActionType& value) { SetActionType(value); return *this;}
93 
97  inline DescribeMitigationActionResult& WithActionType(MitigationActionType&& value) { SetActionType(std::move(value)); return *this;}
98 
99 
103  inline const Aws::String& GetActionArn() const{ return m_actionArn; }
104 
108  inline void SetActionArn(const Aws::String& value) { m_actionArn = value; }
109 
113  inline void SetActionArn(Aws::String&& value) { m_actionArn = std::move(value); }
114 
118  inline void SetActionArn(const char* value) { m_actionArn.assign(value); }
119 
123  inline DescribeMitigationActionResult& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
124 
128  inline DescribeMitigationActionResult& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
129 
133  inline DescribeMitigationActionResult& WithActionArn(const char* value) { SetActionArn(value); return *this;}
134 
135 
139  inline const Aws::String& GetActionId() const{ return m_actionId; }
140 
144  inline void SetActionId(const Aws::String& value) { m_actionId = value; }
145 
149  inline void SetActionId(Aws::String&& value) { m_actionId = std::move(value); }
150 
154  inline void SetActionId(const char* value) { m_actionId.assign(value); }
155 
159  inline DescribeMitigationActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
160 
164  inline DescribeMitigationActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
165 
169  inline DescribeMitigationActionResult& WithActionId(const char* value) { SetActionId(value); return *this;}
170 
171 
175  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
176 
180  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
181 
185  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
186 
190  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
191 
195  inline DescribeMitigationActionResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
196 
200  inline DescribeMitigationActionResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
201 
205  inline DescribeMitigationActionResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
206 
207 
212  inline const MitigationActionParams& GetActionParams() const{ return m_actionParams; }
213 
218  inline void SetActionParams(const MitigationActionParams& value) { m_actionParams = value; }
219 
224  inline void SetActionParams(MitigationActionParams&& value) { m_actionParams = std::move(value); }
225 
230  inline DescribeMitigationActionResult& WithActionParams(const MitigationActionParams& value) { SetActionParams(value); return *this;}
231 
236  inline DescribeMitigationActionResult& WithActionParams(MitigationActionParams&& value) { SetActionParams(std::move(value)); return *this;}
237 
238 
243  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
244 
249  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
250 
255  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
256 
261  inline DescribeMitigationActionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
262 
267  inline DescribeMitigationActionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
268 
269 
273  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
274 
278  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
279 
283  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
284 
288  inline DescribeMitigationActionResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
289 
293  inline DescribeMitigationActionResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
294 
295  private:
296 
297  Aws::String m_actionName;
298 
299  MitigationActionType m_actionType;
300 
301  Aws::String m_actionArn;
302 
303  Aws::String m_actionId;
304 
305  Aws::String m_roleArn;
306 
307  MitigationActionParams m_actionParams;
308 
309  Aws::Utils::DateTime m_creationDate;
310 
311  Aws::Utils::DateTime m_lastModifiedDate;
312  };
313 
314 } // namespace Model
315 } // namespace IoT
316 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeMitigationActionResult::WithActionType
DescribeMitigationActionResult & WithActionType(const MitigationActionType &value)
Definition: DescribeMitigationActionResult.h:92
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeMitigationActionResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DescribeMitigationActionResult.h:175
Aws::IoT::Model::DescribeMitigationActionResult::WithCreationDate
DescribeMitigationActionResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeMitigationActionResult.h:261
Aws::IoT::Model::DescribeMitigationActionResult::WithActionId
DescribeMitigationActionResult & WithActionId(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:159
Aws::IoT::Model::DescribeMitigationActionResult::WithActionName
DescribeMitigationActionResult & WithActionName(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:61
Aws::IoT::Model::DescribeMitigationActionResult::GetActionName
const Aws::String & GetActionName() const
Definition: DescribeMitigationActionResult.h:41
Aws::IoT::Model::DescribeMitigationActionResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeMitigationActionResult.h:249
DateTime.h
Aws::IoT::Model::DescribeMitigationActionResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:185
Aws::IoT::Model::DescribeMitigationActionResult::SetActionId
void SetActionId(const char *value)
Definition: DescribeMitigationActionResult.h:154
Aws::IoT::Model::DescribeMitigationActionResult::WithActionArn
DescribeMitigationActionResult & WithActionArn(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:128
Aws::IoT::Model::DescribeMitigationActionResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeMitigationActionResult.h:283
Aws::IoT::Model::DescribeMitigationActionResult::DescribeMitigationActionResult
DescribeMitigationActionResult()
Aws::IoT::Model::DescribeMitigationActionResult::GetActionArn
const Aws::String & GetActionArn() const
Definition: DescribeMitigationActionResult.h:103
Aws::IoT::Model::DescribeMitigationActionResult::SetActionName
void SetActionName(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:51
MitigationActionParams.h
Aws::IoT::Model::DescribeMitigationActionResult
Definition: DescribeMitigationActionResult.h:31
Aws::IoT::Model::DescribeMitigationActionResult::WithRoleArn
DescribeMitigationActionResult & WithRoleArn(const char *value)
Definition: DescribeMitigationActionResult.h:205
Aws::IoT::Model::DescribeMitigationActionResult::WithActionArn
DescribeMitigationActionResult & WithActionArn(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:123
Aws::IoT::Model::DescribeMitigationActionResult::WithActionArn
DescribeMitigationActionResult & WithActionArn(const char *value)
Definition: DescribeMitigationActionResult.h:133
Aws::IoT::Model::DescribeMitigationActionResult::GetActionId
const Aws::String & GetActionId() const
Definition: DescribeMitigationActionResult.h:139
Aws::IoT::Model::DescribeMitigationActionResult::WithActionId
DescribeMitigationActionResult & WithActionId(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:164
Aws::IoT::Model::DescribeMitigationActionResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:180
Aws::IoT::Model::DescribeMitigationActionResult::WithRoleArn
DescribeMitigationActionResult & WithRoleArn(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:200
Aws::IoT::Model::DescribeMitigationActionResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeMitigationActionResult.h:273
Aws::IoT::Model::DescribeMitigationActionResult::WithActionParams
DescribeMitigationActionResult & WithActionParams(MitigationActionParams &&value)
Definition: DescribeMitigationActionResult.h:236
Aws::IoT::Model::DescribeMitigationActionResult::WithRoleArn
DescribeMitigationActionResult & WithRoleArn(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:195
Aws::IoT::Model::DescribeMitigationActionResult::WithActionParams
DescribeMitigationActionResult & WithActionParams(const MitigationActionParams &value)
Definition: DescribeMitigationActionResult.h:230
Aws::IoT::Model::DescribeMitigationActionResult::WithLastModifiedDate
DescribeMitigationActionResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeMitigationActionResult.h:288
Aws::IoT::Model::DescribeMitigationActionResult::WithActionName
DescribeMitigationActionResult & WithActionName(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:66
Aws::IoT::Model::DescribeMitigationActionResult::SetActionName
void SetActionName(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:46
AWSString.h
Aws::IoT::Model::DescribeMitigationActionResult::SetActionType
void SetActionType(MitigationActionType &&value)
Definition: DescribeMitigationActionResult.h:87
Aws::IoT::Model::MitigationActionParams
Definition: MitigationActionParams.h:39
Aws::IoT::Model::DescribeMitigationActionResult::SetActionId
void SetActionId(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:149
Aws::IoT::Model::DescribeMitigationActionResult::SetActionName
void SetActionName(const char *value)
Definition: DescribeMitigationActionResult.h:56
Aws::IoT::Model::DescribeMitigationActionResult::SetActionParams
void SetActionParams(const MitigationActionParams &value)
Definition: DescribeMitigationActionResult.h:218
Aws::IoT::Model::DescribeMitigationActionResult::WithLastModifiedDate
DescribeMitigationActionResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeMitigationActionResult.h:293
Aws::IoT::Model::DescribeMitigationActionResult::SetActionArn
void SetActionArn(Aws::String &&value)
Definition: DescribeMitigationActionResult.h:113
Aws::IoT::Model::DescribeMitigationActionResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeMitigationActionResult.h:278
Aws::IoT::Model::DescribeMitigationActionResult::operator=
DescribeMitigationActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeMitigationActionResult::GetActionParams
const MitigationActionParams & GetActionParams() const
Definition: DescribeMitigationActionResult.h:212
Aws::IoT::Model::DescribeMitigationActionResult::GetActionType
const MitigationActionType & GetActionType() const
Definition: DescribeMitigationActionResult.h:77
Aws::IoT::Model::DescribeMitigationActionResult::SetActionParams
void SetActionParams(MitigationActionParams &&value)
Definition: DescribeMitigationActionResult.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeMitigationActionResult::SetActionArn
void SetActionArn(const char *value)
Definition: DescribeMitigationActionResult.h:118
Aws::IoT::Model::DescribeMitigationActionResult::DescribeMitigationActionResult
DescribeMitigationActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeMitigationActionResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeMitigationActionResult.h:243
Aws::IoT::Model::DescribeMitigationActionResult::WithActionType
DescribeMitigationActionResult & WithActionType(MitigationActionType &&value)
Definition: DescribeMitigationActionResult.h:97
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeMitigationActionResult::WithActionId
DescribeMitigationActionResult & WithActionId(const char *value)
Definition: DescribeMitigationActionResult.h:169
Aws::IoT::Model::DescribeMitigationActionResult::SetActionArn
void SetActionArn(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:108
Aws::IoT::Model::DescribeMitigationActionResult::WithCreationDate
DescribeMitigationActionResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeMitigationActionResult.h:267
MitigationActionType.h
Aws::IoT::Model::MitigationActionType
MitigationActionType
Definition: MitigationActionType.h:17
Aws::IoT::Model::DescribeMitigationActionResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: DescribeMitigationActionResult.h:190
Aws::IoT::Model::DescribeMitigationActionResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeMitigationActionResult.h:255
Aws::IoT::Model::DescribeMitigationActionResult::SetActionType
void SetActionType(const MitigationActionType &value)
Definition: DescribeMitigationActionResult.h:82
Aws::IoT::Model::DescribeMitigationActionResult::WithActionName
DescribeMitigationActionResult & WithActionName(const char *value)
Definition: DescribeMitigationActionResult.h:71
IoT_EXPORTS.h
Aws::IoT::Model::DescribeMitigationActionResult::SetActionId
void SetActionId(const Aws::String &value)
Definition: DescribeMitigationActionResult.h:144