AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeThingGroupResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/ThingGroupProperties.h>
10#include <aws/iot/model/ThingGroupMetadata.h>
11#include <aws/iot/model/DynamicGroupStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOT_API DescribeThingGroupResult() = default;
36
37
39
42 inline const Aws::String& GetThingGroupName() const { return m_thingGroupName; }
43 template<typename ThingGroupNameT = Aws::String>
44 void SetThingGroupName(ThingGroupNameT&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::forward<ThingGroupNameT>(value); }
45 template<typename ThingGroupNameT = Aws::String>
46 DescribeThingGroupResult& WithThingGroupName(ThingGroupNameT&& value) { SetThingGroupName(std::forward<ThingGroupNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetThingGroupId() const { return m_thingGroupId; }
54 template<typename ThingGroupIdT = Aws::String>
55 void SetThingGroupId(ThingGroupIdT&& value) { m_thingGroupIdHasBeenSet = true; m_thingGroupId = std::forward<ThingGroupIdT>(value); }
56 template<typename ThingGroupIdT = Aws::String>
57 DescribeThingGroupResult& WithThingGroupId(ThingGroupIdT&& value) { SetThingGroupId(std::forward<ThingGroupIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetThingGroupArn() const { return m_thingGroupArn; }
65 template<typename ThingGroupArnT = Aws::String>
66 void SetThingGroupArn(ThingGroupArnT&& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = std::forward<ThingGroupArnT>(value); }
67 template<typename ThingGroupArnT = Aws::String>
68 DescribeThingGroupResult& WithThingGroupArn(ThingGroupArnT&& value) { SetThingGroupArn(std::forward<ThingGroupArnT>(value)); return *this;}
70
72
75 inline long long GetVersion() const { return m_version; }
76 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
77 inline DescribeThingGroupResult& WithVersion(long long value) { SetVersion(value); return *this;}
79
81
84 inline const ThingGroupProperties& GetThingGroupProperties() const { return m_thingGroupProperties; }
85 template<typename ThingGroupPropertiesT = ThingGroupProperties>
86 void SetThingGroupProperties(ThingGroupPropertiesT&& value) { m_thingGroupPropertiesHasBeenSet = true; m_thingGroupProperties = std::forward<ThingGroupPropertiesT>(value); }
87 template<typename ThingGroupPropertiesT = ThingGroupProperties>
88 DescribeThingGroupResult& WithThingGroupProperties(ThingGroupPropertiesT&& value) { SetThingGroupProperties(std::forward<ThingGroupPropertiesT>(value)); return *this;}
90
92
95 inline const ThingGroupMetadata& GetThingGroupMetadata() const { return m_thingGroupMetadata; }
96 template<typename ThingGroupMetadataT = ThingGroupMetadata>
97 void SetThingGroupMetadata(ThingGroupMetadataT&& value) { m_thingGroupMetadataHasBeenSet = true; m_thingGroupMetadata = std::forward<ThingGroupMetadataT>(value); }
98 template<typename ThingGroupMetadataT = ThingGroupMetadata>
99 DescribeThingGroupResult& WithThingGroupMetadata(ThingGroupMetadataT&& value) { SetThingGroupMetadata(std::forward<ThingGroupMetadataT>(value)); return *this;}
101
103
106 inline const Aws::String& GetIndexName() const { return m_indexName; }
107 template<typename IndexNameT = Aws::String>
108 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
109 template<typename IndexNameT = Aws::String>
110 DescribeThingGroupResult& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
112
114
117 inline const Aws::String& GetQueryString() const { return m_queryString; }
118 template<typename QueryStringT = Aws::String>
119 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet = true; m_queryString = std::forward<QueryStringT>(value); }
120 template<typename QueryStringT = Aws::String>
121 DescribeThingGroupResult& WithQueryString(QueryStringT&& value) { SetQueryString(std::forward<QueryStringT>(value)); return *this;}
123
125
128 inline const Aws::String& GetQueryVersion() const { return m_queryVersion; }
129 template<typename QueryVersionT = Aws::String>
130 void SetQueryVersion(QueryVersionT&& value) { m_queryVersionHasBeenSet = true; m_queryVersion = std::forward<QueryVersionT>(value); }
131 template<typename QueryVersionT = Aws::String>
132 DescribeThingGroupResult& WithQueryVersion(QueryVersionT&& value) { SetQueryVersion(std::forward<QueryVersionT>(value)); return *this;}
134
136
139 inline DynamicGroupStatus GetStatus() const { return m_status; }
140 inline void SetStatus(DynamicGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
141 inline DescribeThingGroupResult& WithStatus(DynamicGroupStatus value) { SetStatus(value); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template<typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
149 template<typename RequestIdT = Aws::String>
150 DescribeThingGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
152 private:
153
154 Aws::String m_thingGroupName;
155 bool m_thingGroupNameHasBeenSet = false;
156
157 Aws::String m_thingGroupId;
158 bool m_thingGroupIdHasBeenSet = false;
159
160 Aws::String m_thingGroupArn;
161 bool m_thingGroupArnHasBeenSet = false;
162
163 long long m_version{0};
164 bool m_versionHasBeenSet = false;
165
166 ThingGroupProperties m_thingGroupProperties;
167 bool m_thingGroupPropertiesHasBeenSet = false;
168
169 ThingGroupMetadata m_thingGroupMetadata;
170 bool m_thingGroupMetadataHasBeenSet = false;
171
172 Aws::String m_indexName;
173 bool m_indexNameHasBeenSet = false;
174
175 Aws::String m_queryString;
176 bool m_queryStringHasBeenSet = false;
177
178 Aws::String m_queryVersion;
179 bool m_queryVersionHasBeenSet = false;
180
182 bool m_statusHasBeenSet = false;
183
184 Aws::String m_requestId;
185 bool m_requestIdHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace IoT
190} // namespace Aws
AWS_IOT_API DescribeThingGroupResult()=default
void SetThingGroupProperties(ThingGroupPropertiesT &&value)
AWS_IOT_API DescribeThingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API DescribeThingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingGroupResult & WithThingGroupName(ThingGroupNameT &&value)
void SetThingGroupMetadata(ThingGroupMetadataT &&value)
DescribeThingGroupResult & WithVersion(long long value)
DescribeThingGroupResult & WithRequestId(RequestIdT &&value)
DescribeThingGroupResult & WithQueryVersion(QueryVersionT &&value)
DescribeThingGroupResult & WithThingGroupMetadata(ThingGroupMetadataT &&value)
DescribeThingGroupResult & WithStatus(DynamicGroupStatus value)
DescribeThingGroupResult & WithThingGroupProperties(ThingGroupPropertiesT &&value)
const ThingGroupProperties & GetThingGroupProperties() const
DescribeThingGroupResult & WithQueryString(QueryStringT &&value)
DescribeThingGroupResult & WithThingGroupId(ThingGroupIdT &&value)
DescribeThingGroupResult & WithThingGroupArn(ThingGroupArnT &&value)
DescribeThingGroupResult & WithIndexName(IndexNameT &&value)
const ThingGroupMetadata & GetThingGroupMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue