AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const Aws::String& GetThingGroupName() const{ return m_thingGroupName; }
43 inline void SetThingGroupName(const Aws::String& value) { m_thingGroupName = value; }
44 inline void SetThingGroupName(Aws::String&& value) { m_thingGroupName = std::move(value); }
45 inline void SetThingGroupName(const char* value) { m_thingGroupName.assign(value); }
46 inline DescribeThingGroupResult& WithThingGroupName(const Aws::String& value) { SetThingGroupName(value); return *this;}
47 inline DescribeThingGroupResult& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;}
48 inline DescribeThingGroupResult& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;}
50
52
55 inline const Aws::String& GetThingGroupId() const{ return m_thingGroupId; }
56 inline void SetThingGroupId(const Aws::String& value) { m_thingGroupId = value; }
57 inline void SetThingGroupId(Aws::String&& value) { m_thingGroupId = std::move(value); }
58 inline void SetThingGroupId(const char* value) { m_thingGroupId.assign(value); }
59 inline DescribeThingGroupResult& WithThingGroupId(const Aws::String& value) { SetThingGroupId(value); return *this;}
60 inline DescribeThingGroupResult& WithThingGroupId(Aws::String&& value) { SetThingGroupId(std::move(value)); return *this;}
61 inline DescribeThingGroupResult& WithThingGroupId(const char* value) { SetThingGroupId(value); return *this;}
63
65
68 inline const Aws::String& GetThingGroupArn() const{ return m_thingGroupArn; }
69 inline void SetThingGroupArn(const Aws::String& value) { m_thingGroupArn = value; }
70 inline void SetThingGroupArn(Aws::String&& value) { m_thingGroupArn = std::move(value); }
71 inline void SetThingGroupArn(const char* value) { m_thingGroupArn.assign(value); }
72 inline DescribeThingGroupResult& WithThingGroupArn(const Aws::String& value) { SetThingGroupArn(value); return *this;}
73 inline DescribeThingGroupResult& WithThingGroupArn(Aws::String&& value) { SetThingGroupArn(std::move(value)); return *this;}
74 inline DescribeThingGroupResult& WithThingGroupArn(const char* value) { SetThingGroupArn(value); return *this;}
76
78
81 inline long long GetVersion() const{ return m_version; }
82 inline void SetVersion(long long value) { m_version = value; }
83 inline DescribeThingGroupResult& WithVersion(long long value) { SetVersion(value); return *this;}
85
87
90 inline const ThingGroupProperties& GetThingGroupProperties() const{ return m_thingGroupProperties; }
91 inline void SetThingGroupProperties(const ThingGroupProperties& value) { m_thingGroupProperties = value; }
92 inline void SetThingGroupProperties(ThingGroupProperties&& value) { m_thingGroupProperties = std::move(value); }
96
98
101 inline const ThingGroupMetadata& GetThingGroupMetadata() const{ return m_thingGroupMetadata; }
102 inline void SetThingGroupMetadata(const ThingGroupMetadata& value) { m_thingGroupMetadata = value; }
103 inline void SetThingGroupMetadata(ThingGroupMetadata&& value) { m_thingGroupMetadata = std::move(value); }
107
109
112 inline const Aws::String& GetIndexName() const{ return m_indexName; }
113 inline void SetIndexName(const Aws::String& value) { m_indexName = value; }
114 inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); }
115 inline void SetIndexName(const char* value) { m_indexName.assign(value); }
116 inline DescribeThingGroupResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
117 inline DescribeThingGroupResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
118 inline DescribeThingGroupResult& WithIndexName(const char* value) { SetIndexName(value); return *this;}
120
122
125 inline const Aws::String& GetQueryString() const{ return m_queryString; }
126 inline void SetQueryString(const Aws::String& value) { m_queryString = value; }
127 inline void SetQueryString(Aws::String&& value) { m_queryString = std::move(value); }
128 inline void SetQueryString(const char* value) { m_queryString.assign(value); }
129 inline DescribeThingGroupResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
130 inline DescribeThingGroupResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
131 inline DescribeThingGroupResult& WithQueryString(const char* value) { SetQueryString(value); return *this;}
133
135
138 inline const Aws::String& GetQueryVersion() const{ return m_queryVersion; }
139 inline void SetQueryVersion(const Aws::String& value) { m_queryVersion = value; }
140 inline void SetQueryVersion(Aws::String&& value) { m_queryVersion = std::move(value); }
141 inline void SetQueryVersion(const char* value) { m_queryVersion.assign(value); }
142 inline DescribeThingGroupResult& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;}
143 inline DescribeThingGroupResult& WithQueryVersion(Aws::String&& value) { SetQueryVersion(std::move(value)); return *this;}
144 inline DescribeThingGroupResult& WithQueryVersion(const char* value) { SetQueryVersion(value); return *this;}
146
148
151 inline const DynamicGroupStatus& GetStatus() const{ return m_status; }
152 inline void SetStatus(const DynamicGroupStatus& value) { m_status = value; }
153 inline void SetStatus(DynamicGroupStatus&& value) { m_status = std::move(value); }
154 inline DescribeThingGroupResult& WithStatus(const DynamicGroupStatus& value) { SetStatus(value); return *this;}
155 inline DescribeThingGroupResult& WithStatus(DynamicGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
157
159
160 inline const Aws::String& GetRequestId() const{ return m_requestId; }
161 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
162 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
163 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
164 inline DescribeThingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
165 inline DescribeThingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
166 inline DescribeThingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
168 private:
169
170 Aws::String m_thingGroupName;
171
172 Aws::String m_thingGroupId;
173
174 Aws::String m_thingGroupArn;
175
176 long long m_version;
177
178 ThingGroupProperties m_thingGroupProperties;
179
180 ThingGroupMetadata m_thingGroupMetadata;
181
182 Aws::String m_indexName;
183
184 Aws::String m_queryString;
185
186 Aws::String m_queryVersion;
187
188 DynamicGroupStatus m_status;
189
190 Aws::String m_requestId;
191 };
192
193} // namespace Model
194} // namespace IoT
195} // namespace Aws
DescribeThingGroupResult & WithQueryString(Aws::String &&value)
void SetStatus(const DynamicGroupStatus &value)
AWS_IOT_API DescribeThingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingGroupResult & WithThingGroupArn(const Aws::String &value)
DescribeThingGroupResult & WithThingGroupId(const char *value)
AWS_IOT_API DescribeThingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingGroupResult & WithThingGroupId(const Aws::String &value)
const DynamicGroupStatus & GetStatus() const
DescribeThingGroupResult & WithStatus(const DynamicGroupStatus &value)
DescribeThingGroupResult & WithVersion(long long value)
void SetThingGroupMetadata(ThingGroupMetadata &&value)
DescribeThingGroupResult & WithQueryString(const Aws::String &value)
void SetThingGroupMetadata(const ThingGroupMetadata &value)
void SetThingGroupProperties(ThingGroupProperties &&value)
DescribeThingGroupResult & WithQueryVersion(Aws::String &&value)
DescribeThingGroupResult & WithIndexName(Aws::String &&value)
DescribeThingGroupResult & WithQueryString(const char *value)
DescribeThingGroupResult & WithThingGroupProperties(const ThingGroupProperties &value)
DescribeThingGroupResult & WithRequestId(const char *value)
DescribeThingGroupResult & WithThingGroupName(const Aws::String &value)
DescribeThingGroupResult & WithThingGroupArn(const char *value)
DescribeThingGroupResult & WithThingGroupArn(Aws::String &&value)
DescribeThingGroupResult & WithThingGroupName(Aws::String &&value)
DescribeThingGroupResult & WithRequestId(Aws::String &&value)
DescribeThingGroupResult & WithThingGroupName(const char *value)
const ThingGroupProperties & GetThingGroupProperties() const
DescribeThingGroupResult & WithThingGroupId(Aws::String &&value)
DescribeThingGroupResult & WithThingGroupProperties(ThingGroupProperties &&value)
DescribeThingGroupResult & WithIndexName(const Aws::String &value)
DescribeThingGroupResult & WithIndexName(const char *value)
DescribeThingGroupResult & WithRequestId(const Aws::String &value)
DescribeThingGroupResult & WithThingGroupMetadata(ThingGroupMetadata &&value)
DescribeThingGroupResult & WithQueryVersion(const char *value)
DescribeThingGroupResult & WithQueryVersion(const Aws::String &value)
DescribeThingGroupResult & WithThingGroupMetadata(const ThingGroupMetadata &value)
void SetThingGroupProperties(const ThingGroupProperties &value)
const ThingGroupMetadata & GetThingGroupMetadata() const
DescribeThingGroupResult & WithStatus(DynamicGroupStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue