AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const Aws::String& GetActionName() const{ return m_actionName; }
43 inline void SetActionName(const Aws::String& value) { m_actionName = value; }
44 inline void SetActionName(Aws::String&& value) { m_actionName = std::move(value); }
45 inline void SetActionName(const char* value) { m_actionName.assign(value); }
46 inline DescribeMitigationActionResult& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
47 inline DescribeMitigationActionResult& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
48 inline DescribeMitigationActionResult& WithActionName(const char* value) { SetActionName(value); return *this;}
50
52
55 inline const MitigationActionType& GetActionType() const{ return m_actionType; }
56 inline void SetActionType(const MitigationActionType& value) { m_actionType = value; }
57 inline void SetActionType(MitigationActionType&& value) { m_actionType = std::move(value); }
59 inline DescribeMitigationActionResult& WithActionType(MitigationActionType&& value) { SetActionType(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetActionArn() const{ return m_actionArn; }
67 inline void SetActionArn(const Aws::String& value) { m_actionArn = value; }
68 inline void SetActionArn(Aws::String&& value) { m_actionArn = std::move(value); }
69 inline void SetActionArn(const char* value) { m_actionArn.assign(value); }
70 inline DescribeMitigationActionResult& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
71 inline DescribeMitigationActionResult& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
72 inline DescribeMitigationActionResult& WithActionArn(const char* value) { SetActionArn(value); return *this;}
74
76
79 inline const Aws::String& GetActionId() const{ return m_actionId; }
80 inline void SetActionId(const Aws::String& value) { m_actionId = value; }
81 inline void SetActionId(Aws::String&& value) { m_actionId = std::move(value); }
82 inline void SetActionId(const char* value) { m_actionId.assign(value); }
83 inline DescribeMitigationActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
84 inline DescribeMitigationActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
85 inline DescribeMitigationActionResult& WithActionId(const char* value) { SetActionId(value); return *this;}
87
89
92 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
93 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
94 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
95 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
96 inline DescribeMitigationActionResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
97 inline DescribeMitigationActionResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
98 inline DescribeMitigationActionResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
100
102
106 inline const MitigationActionParams& GetActionParams() const{ return m_actionParams; }
107 inline void SetActionParams(const MitigationActionParams& value) { m_actionParams = value; }
108 inline void SetActionParams(MitigationActionParams&& value) { m_actionParams = std::move(value); }
112
114
118 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
119 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
120 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
122 inline DescribeMitigationActionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
130 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
131 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
135
137
138 inline const Aws::String& GetRequestId() const{ return m_requestId; }
139 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
140 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
141 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
142 inline DescribeMitigationActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
143 inline DescribeMitigationActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
144 inline DescribeMitigationActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
146 private:
147
148 Aws::String m_actionName;
149
150 MitigationActionType m_actionType;
151
152 Aws::String m_actionArn;
153
154 Aws::String m_actionId;
155
156 Aws::String m_roleArn;
157
158 MitigationActionParams m_actionParams;
159
160 Aws::Utils::DateTime m_creationDate;
161
162 Aws::Utils::DateTime m_lastModifiedDate;
163
164 Aws::String m_requestId;
165 };
166
167} // namespace Model
168} // namespace IoT
169} // namespace Aws
DescribeMitigationActionResult & WithActionName(Aws::String &&value)
DescribeMitigationActionResult & WithActionId(const Aws::String &value)
DescribeMitigationActionResult & WithActionParams(const MitigationActionParams &value)
DescribeMitigationActionResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeMitigationActionResult & WithActionName(const Aws::String &value)
DescribeMitigationActionResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeMitigationActionResult & WithRequestId(Aws::String &&value)
DescribeMitigationActionResult & WithActionArn(const Aws::String &value)
DescribeMitigationActionResult & WithRequestId(const char *value)
DescribeMitigationActionResult & WithActionType(MitigationActionType &&value)
void SetActionParams(const MitigationActionParams &value)
DescribeMitigationActionResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeMitigationActionResult & WithRoleArn(const char *value)
DescribeMitigationActionResult & WithRoleArn(const Aws::String &value)
DescribeMitigationActionResult & WithActionArn(const char *value)
DescribeMitigationActionResult & WithActionId(const char *value)
DescribeMitigationActionResult & WithActionId(Aws::String &&value)
DescribeMitigationActionResult & WithActionType(const MitigationActionType &value)
DescribeMitigationActionResult & WithActionArn(Aws::String &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_IOT_API DescribeMitigationActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMitigationActionResult & WithRoleArn(Aws::String &&value)
DescribeMitigationActionResult & WithActionName(const char *value)
DescribeMitigationActionResult & WithActionParams(MitigationActionParams &&value)
DescribeMitigationActionResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeMitigationActionResult & WithRequestId(const Aws::String &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