AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateThingGroupResult.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{
28 {
29 public:
30 AWS_IOT_API CreateThingGroupResult() = default;
33
34
36
39 inline const Aws::String& GetThingGroupName() const { return m_thingGroupName; }
40 template<typename ThingGroupNameT = Aws::String>
41 void SetThingGroupName(ThingGroupNameT&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::forward<ThingGroupNameT>(value); }
42 template<typename ThingGroupNameT = Aws::String>
43 CreateThingGroupResult& WithThingGroupName(ThingGroupNameT&& value) { SetThingGroupName(std::forward<ThingGroupNameT>(value)); return *this;}
45
47
50 inline const Aws::String& GetThingGroupArn() const { return m_thingGroupArn; }
51 template<typename ThingGroupArnT = Aws::String>
52 void SetThingGroupArn(ThingGroupArnT&& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = std::forward<ThingGroupArnT>(value); }
53 template<typename ThingGroupArnT = Aws::String>
54 CreateThingGroupResult& WithThingGroupArn(ThingGroupArnT&& value) { SetThingGroupArn(std::forward<ThingGroupArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetThingGroupId() const { return m_thingGroupId; }
62 template<typename ThingGroupIdT = Aws::String>
63 void SetThingGroupId(ThingGroupIdT&& value) { m_thingGroupIdHasBeenSet = true; m_thingGroupId = std::forward<ThingGroupIdT>(value); }
64 template<typename ThingGroupIdT = Aws::String>
65 CreateThingGroupResult& WithThingGroupId(ThingGroupIdT&& value) { SetThingGroupId(std::forward<ThingGroupIdT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 CreateThingGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_thingGroupName;
79 bool m_thingGroupNameHasBeenSet = false;
80
81 Aws::String m_thingGroupArn;
82 bool m_thingGroupArnHasBeenSet = false;
83
84 Aws::String m_thingGroupId;
85 bool m_thingGroupIdHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoT
93} // namespace Aws
void SetThingGroupArn(ThingGroupArnT &&value)
AWS_IOT_API CreateThingGroupResult()=default
void SetThingGroupName(ThingGroupNameT &&value)
CreateThingGroupResult & WithRequestId(RequestIdT &&value)
CreateThingGroupResult & WithThingGroupId(ThingGroupIdT &&value)
CreateThingGroupResult & WithThingGroupName(ThingGroupNameT &&value)
AWS_IOT_API CreateThingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateThingGroupResult & WithThingGroupArn(ThingGroupArnT &&value)
AWS_IOT_API CreateThingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue