AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateThingResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
33 {
34 public:
35 AWS_IOT_API CreateThingResult();
38
39
41
44 inline const Aws::String& GetThingName() const{ return m_thingName; }
45 inline void SetThingName(const Aws::String& value) { m_thingName = value; }
46 inline void SetThingName(Aws::String&& value) { m_thingName = std::move(value); }
47 inline void SetThingName(const char* value) { m_thingName.assign(value); }
48 inline CreateThingResult& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
49 inline CreateThingResult& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
50 inline CreateThingResult& WithThingName(const char* value) { SetThingName(value); return *this;}
52
54
57 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
58 inline void SetThingArn(const Aws::String& value) { m_thingArn = value; }
59 inline void SetThingArn(Aws::String&& value) { m_thingArn = std::move(value); }
60 inline void SetThingArn(const char* value) { m_thingArn.assign(value); }
61 inline CreateThingResult& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
62 inline CreateThingResult& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
63 inline CreateThingResult& WithThingArn(const char* value) { SetThingArn(value); return *this;}
65
67
70 inline const Aws::String& GetThingId() const{ return m_thingId; }
71 inline void SetThingId(const Aws::String& value) { m_thingId = value; }
72 inline void SetThingId(Aws::String&& value) { m_thingId = std::move(value); }
73 inline void SetThingId(const char* value) { m_thingId.assign(value); }
74 inline CreateThingResult& WithThingId(const Aws::String& value) { SetThingId(value); return *this;}
75 inline CreateThingResult& WithThingId(Aws::String&& value) { SetThingId(std::move(value)); return *this;}
76 inline CreateThingResult& WithThingId(const char* value) { SetThingId(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline CreateThingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline CreateThingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline CreateThingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_thingName;
92
93 Aws::String m_thingArn;
94
95 Aws::String m_thingId;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace IoT
102} // namespace Aws
CreateThingResult & WithThingArn(Aws::String &&value)
CreateThingResult & WithThingId(const Aws::String &value)
void SetThingName(Aws::String &&value)
void SetRequestId(Aws::String &&value)
CreateThingResult & WithRequestId(Aws::String &&value)
CreateThingResult & WithRequestId(const Aws::String &value)
CreateThingResult & WithRequestId(const char *value)
void SetThingName(const char *value)
void SetThingId(const Aws::String &value)
CreateThingResult & WithThingArn(const char *value)
CreateThingResult & WithThingName(const char *value)
void SetThingArn(const char *value)
void SetThingName(const Aws::String &value)
void SetThingArn(Aws::String &&value)
CreateThingResult & WithThingId(Aws::String &&value)
const Aws::String & GetRequestId() const
CreateThingResult & WithThingArn(const Aws::String &value)
AWS_IOT_API CreateThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateThingResult & WithThingName(const Aws::String &value)
const Aws::String & GetThingId() const
void SetThingArn(const Aws::String &value)
AWS_IOT_API CreateThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateThingResult & WithThingName(Aws::String &&value)
const Aws::String & GetThingArn() const
void SetRequestId(const Aws::String &value)
CreateThingResult & WithThingId(const char *value)
const Aws::String & GetThingName() const
void SetRequestId(const char *value)
void SetThingId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue