AWS SDK for C++  1.9.123
AWS SDK for C++
StartDetectMitigationActionsTaskResult.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& GetTaskId() const{ return m_taskId; }
39 
43  inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
44 
48  inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
49 
53  inline void SetTaskId(const char* value) { m_taskId.assign(value); }
54 
58  inline StartDetectMitigationActionsTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
59 
63  inline StartDetectMitigationActionsTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
64 
68  inline StartDetectMitigationActionsTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_taskId;
73  };
74 
75 } // namespace Model
76 } // namespace IoT
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::StartDetectMitigationActionsTaskResult
StartDetectMitigationActionsTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::StartDetectMitigationActionsTaskResult
StartDetectMitigationActionsTaskResult()
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::WithTaskId
StartDetectMitigationActionsTaskResult & WithTaskId(const char *value)
Definition: StartDetectMitigationActionsTaskResult.h:68
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: StartDetectMitigationActionsTaskResult.h:43
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::operator=
StartDetectMitigationActionsTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::WithTaskId
StartDetectMitigationActionsTaskResult & WithTaskId(const Aws::String &value)
Definition: StartDetectMitigationActionsTaskResult.h:58
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::WithTaskId
StartDetectMitigationActionsTaskResult & WithTaskId(Aws::String &&value)
Definition: StartDetectMitigationActionsTaskResult.h:63
Aws::IoT::Model::StartDetectMitigationActionsTaskResult
Definition: StartDetectMitigationActionsTaskResult.h:28
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: StartDetectMitigationActionsTaskResult.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::StartDetectMitigationActionsTaskResult::SetTaskId
void SetTaskId(const char *value)
Definition: StartDetectMitigationActionsTaskResult.h:53
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::StartDetectMitigationActionsTaskResult::GetTaskId
const Aws::String & GetTaskId() const
Definition: StartDetectMitigationActionsTaskResult.h:38
IoT_EXPORTS.h