AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetThingName() const { return m_thingName; }
45 template<typename ThingNameT = Aws::String>
46 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
47 template<typename ThingNameT = Aws::String>
48 CreateThingResult& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetThingArn() const { return m_thingArn; }
56 template<typename ThingArnT = Aws::String>
57 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::forward<ThingArnT>(value); }
58 template<typename ThingArnT = Aws::String>
59 CreateThingResult& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetThingId() const { return m_thingId; }
67 template<typename ThingIdT = Aws::String>
68 void SetThingId(ThingIdT&& value) { m_thingIdHasBeenSet = true; m_thingId = std::forward<ThingIdT>(value); }
69 template<typename ThingIdT = Aws::String>
70 CreateThingResult& WithThingId(ThingIdT&& value) { SetThingId(std::forward<ThingIdT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 CreateThingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_thingName;
84 bool m_thingNameHasBeenSet = false;
85
86 Aws::String m_thingArn;
87 bool m_thingArnHasBeenSet = false;
88
89 Aws::String m_thingId;
90 bool m_thingIdHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace IoT
98} // namespace Aws
AWS_IOT_API CreateThingResult()=default
const Aws::String & GetRequestId() const
AWS_IOT_API CreateThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetThingId() const
AWS_IOT_API CreateThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateThingResult & WithRequestId(RequestIdT &&value)
CreateThingResult & WithThingName(ThingNameT &&value)
const Aws::String & GetThingArn() const
CreateThingResult & WithThingArn(ThingArnT &&value)
CreateThingResult & WithThingId(ThingIdT &&value)
const Aws::String & GetThingName() const
void SetRequestId(RequestIdT &&value)
void SetThingName(ThingNameT &&value)
void SetThingArn(ThingArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue