AWS SDK for C++  1.9.129
AWS SDK for C++
StartThingRegistrationTaskResult.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 StartThingRegistrationTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
59 
63  inline StartThingRegistrationTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
64 
68  inline StartThingRegistrationTaskResult& 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::StartThingRegistrationTaskResult::SetTaskId
void SetTaskId(const char *value)
Definition: StartThingRegistrationTaskResult.h:53
Aws::IoT::Model::StartThingRegistrationTaskResult
Definition: StartThingRegistrationTaskResult.h:28
Aws::IoT::Model::StartThingRegistrationTaskResult::StartThingRegistrationTaskResult
StartThingRegistrationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::StartThingRegistrationTaskResult::WithTaskId
StartThingRegistrationTaskResult & WithTaskId(Aws::String &&value)
Definition: StartThingRegistrationTaskResult.h:63
Aws::IoT::Model::StartThingRegistrationTaskResult::WithTaskId
StartThingRegistrationTaskResult & WithTaskId(const Aws::String &value)
Definition: StartThingRegistrationTaskResult.h:58
AWSString.h
Aws::IoT::Model::StartThingRegistrationTaskResult::GetTaskId
const Aws::String & GetTaskId() const
Definition: StartThingRegistrationTaskResult.h:38
Aws::IoT::Model::StartThingRegistrationTaskResult::StartThingRegistrationTaskResult
StartThingRegistrationTaskResult()
Aws::IoT::Model::StartThingRegistrationTaskResult::WithTaskId
StartThingRegistrationTaskResult & WithTaskId(const char *value)
Definition: StartThingRegistrationTaskResult.h:68
Aws
Definition: AccessManagementClient.h:15
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::StartThingRegistrationTaskResult::operator=
StartThingRegistrationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoT_EXPORTS.h
Aws::IoT::Model::StartThingRegistrationTaskResult::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: StartThingRegistrationTaskResult.h:43
Aws::IoT::Model::StartThingRegistrationTaskResult::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: StartThingRegistrationTaskResult.h:48