AWS SDK for C++  1.9.123
AWS SDK for C++
CreateMitigationActionResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetActionArn() const{ return m_actionArn; }
39 
43  inline void SetActionArn(const Aws::String& value) { m_actionArn = value; }
44 
48  inline void SetActionArn(Aws::String&& value) { m_actionArn = std::move(value); }
49 
53  inline void SetActionArn(const char* value) { m_actionArn.assign(value); }
54 
58  inline CreateMitigationActionResult& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
59 
63  inline CreateMitigationActionResult& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
64 
68  inline CreateMitigationActionResult& WithActionArn(const char* value) { SetActionArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetActionId() const{ return m_actionId; }
75 
79  inline void SetActionId(const Aws::String& value) { m_actionId = value; }
80 
84  inline void SetActionId(Aws::String&& value) { m_actionId = std::move(value); }
85 
89  inline void SetActionId(const char* value) { m_actionId.assign(value); }
90 
94  inline CreateMitigationActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
95 
99  inline CreateMitigationActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
100 
104  inline CreateMitigationActionResult& WithActionId(const char* value) { SetActionId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_actionArn;
109 
110  Aws::String m_actionId;
111  };
112 
113 } // namespace Model
114 } // namespace IoT
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateMitigationActionResult::SetActionArn
void SetActionArn(Aws::String &&value)
Definition: CreateMitigationActionResult.h:48
Aws::IoT::Model::CreateMitigationActionResult::SetActionArn
void SetActionArn(const Aws::String &value)
Definition: CreateMitigationActionResult.h:43
Aws::IoT::Model::CreateMitigationActionResult::SetActionId
void SetActionId(const Aws::String &value)
Definition: CreateMitigationActionResult.h:79
Aws::IoT::Model::CreateMitigationActionResult::GetActionArn
const Aws::String & GetActionArn() const
Definition: CreateMitigationActionResult.h:38
Aws::IoT::Model::CreateMitigationActionResult::CreateMitigationActionResult
CreateMitigationActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::CreateMitigationActionResult::WithActionArn
CreateMitigationActionResult & WithActionArn(Aws::String &&value)
Definition: CreateMitigationActionResult.h:63
Aws::IoT::Model::CreateMitigationActionResult::SetActionId
void SetActionId(Aws::String &&value)
Definition: CreateMitigationActionResult.h:84
Aws::IoT::Model::CreateMitigationActionResult
Definition: CreateMitigationActionResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateMitigationActionResult::WithActionArn
CreateMitigationActionResult & WithActionArn(const char *value)
Definition: CreateMitigationActionResult.h:68
Aws::IoT::Model::CreateMitigationActionResult::operator=
CreateMitigationActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateMitigationActionResult::WithActionArn
CreateMitigationActionResult & WithActionArn(const Aws::String &value)
Definition: CreateMitigationActionResult.h:58
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::CreateMitigationActionResult::SetActionId
void SetActionId(const char *value)
Definition: CreateMitigationActionResult.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateMitigationActionResult::WithActionId
CreateMitigationActionResult & WithActionId(const Aws::String &value)
Definition: CreateMitigationActionResult.h:94
Aws::IoT::Model::CreateMitigationActionResult::WithActionId
CreateMitigationActionResult & WithActionId(const char *value)
Definition: CreateMitigationActionResult.h:104
Aws::IoT::Model::CreateMitigationActionResult::SetActionArn
void SetActionArn(const char *value)
Definition: CreateMitigationActionResult.h:53
Aws::IoT::Model::CreateMitigationActionResult::WithActionId
CreateMitigationActionResult & WithActionId(Aws::String &&value)
Definition: CreateMitigationActionResult.h:99
Aws::IoT::Model::CreateMitigationActionResult::CreateMitigationActionResult
CreateMitigationActionResult()
Aws::IoT::Model::CreateMitigationActionResult::GetActionId
const Aws::String & GetActionId() const
Definition: CreateMitigationActionResult.h:74
IoT_EXPORTS.h