AWS SDK for C++  1.9.106
AWS SDK for C++
GetDeviceProfileResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline GetDeviceProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline GetDeviceProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline GetDeviceProfileResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetName() const{ return m_name; }
76 
80  inline void SetName(const Aws::String& value) { m_name = value; }
81 
85  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
86 
90  inline void SetName(const char* value) { m_name.assign(value); }
91 
95  inline GetDeviceProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;}
96 
100  inline GetDeviceProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 
105  inline GetDeviceProfileResult& WithName(const char* value) { SetName(value); return *this;}
106 
107 
111  inline const Aws::String& GetId() const{ return m_id; }
112 
116  inline void SetId(const Aws::String& value) { m_id = value; }
117 
121  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
122 
126  inline void SetId(const char* value) { m_id.assign(value); }
127 
131  inline GetDeviceProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;}
132 
136  inline GetDeviceProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
137 
141  inline GetDeviceProfileResult& WithId(const char* value) { SetId(value); return *this;}
142 
143 
147  inline const LoRaWANDeviceProfile& GetLoRaWAN() const{ return m_loRaWAN; }
148 
152  inline void SetLoRaWAN(const LoRaWANDeviceProfile& value) { m_loRaWAN = value; }
153 
157  inline void SetLoRaWAN(LoRaWANDeviceProfile&& value) { m_loRaWAN = std::move(value); }
158 
162  inline GetDeviceProfileResult& WithLoRaWAN(const LoRaWANDeviceProfile& value) { SetLoRaWAN(value); return *this;}
163 
167  inline GetDeviceProfileResult& WithLoRaWAN(LoRaWANDeviceProfile&& value) { SetLoRaWAN(std::move(value)); return *this;}
168 
169  private:
170 
171  Aws::String m_arn;
172 
173  Aws::String m_name;
174 
175  Aws::String m_id;
176 
177  LoRaWANDeviceProfile m_loRaWAN;
178  };
179 
180 } // namespace Model
181 } // namespace IoTWireless
182 } // namespace Aws
Aws::IoTWireless::Model::GetDeviceProfileResult::GetDeviceProfileResult
GetDeviceProfileResult()
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::GetDeviceProfileResult::SetLoRaWAN
void SetLoRaWAN(const LoRaWANDeviceProfile &value)
Definition: GetDeviceProfileResult.h:152
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetDeviceProfileResult::WithId
GetDeviceProfileResult & WithId(Aws::String &&value)
Definition: GetDeviceProfileResult.h:136
Aws::IoTWireless::Model::GetDeviceProfileResult::SetId
void SetId(const Aws::String &value)
Definition: GetDeviceProfileResult.h:116
Aws::IoTWireless::Model::GetDeviceProfileResult::GetDeviceProfileResult
GetDeviceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetDeviceProfileResult::GetId
const Aws::String & GetId() const
Definition: GetDeviceProfileResult.h:111
Aws::IoTWireless::Model::GetDeviceProfileResult::WithLoRaWAN
GetDeviceProfileResult & WithLoRaWAN(const LoRaWANDeviceProfile &value)
Definition: GetDeviceProfileResult.h:162
Aws::IoTWireless::Model::GetDeviceProfileResult::WithName
GetDeviceProfileResult & WithName(const Aws::String &value)
Definition: GetDeviceProfileResult.h:95
Aws::IoTWireless::Model::GetDeviceProfileResult::WithName
GetDeviceProfileResult & WithName(Aws::String &&value)
Definition: GetDeviceProfileResult.h:100
Aws::IoTWireless::Model::GetDeviceProfileResult::WithName
GetDeviceProfileResult & WithName(const char *value)
Definition: GetDeviceProfileResult.h:105
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetDeviceProfileResult::GetName
const Aws::String & GetName() const
Definition: GetDeviceProfileResult.h:75
Aws::IoTWireless::Model::GetDeviceProfileResult::WithId
GetDeviceProfileResult & WithId(const char *value)
Definition: GetDeviceProfileResult.h:141
Aws::IoTWireless::Model::GetDeviceProfileResult::operator=
GetDeviceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetDeviceProfileResult::WithId
GetDeviceProfileResult & WithId(const Aws::String &value)
Definition: GetDeviceProfileResult.h:131
Aws::IoTWireless::Model::GetDeviceProfileResult::GetArn
const Aws::String & GetArn() const
Definition: GetDeviceProfileResult.h:39
Aws::IoTWireless::Model::GetDeviceProfileResult::SetName
void SetName(Aws::String &&value)
Definition: GetDeviceProfileResult.h:85
Aws::IoTWireless::Model::GetDeviceProfileResult::GetLoRaWAN
const LoRaWANDeviceProfile & GetLoRaWAN() const
Definition: GetDeviceProfileResult.h:147
Aws::IoTWireless::Model::GetDeviceProfileResult::SetId
void SetId(Aws::String &&value)
Definition: GetDeviceProfileResult.h:121
AWSString.h
Aws::IoTWireless::Model::GetDeviceProfileResult::WithArn
GetDeviceProfileResult & WithArn(const Aws::String &value)
Definition: GetDeviceProfileResult.h:59
Aws::IoTWireless::Model::GetDeviceProfileResult::SetLoRaWAN
void SetLoRaWAN(LoRaWANDeviceProfile &&value)
Definition: GetDeviceProfileResult.h:157
Aws::IoTWireless::Model::LoRaWANDeviceProfile
Definition: LoRaWANDeviceProfile.h:33
Aws::IoTWireless::Model::GetDeviceProfileResult::WithLoRaWAN
GetDeviceProfileResult & WithLoRaWAN(LoRaWANDeviceProfile &&value)
Definition: GetDeviceProfileResult.h:167
Aws::IoTWireless::Model::GetDeviceProfileResult
Definition: GetDeviceProfileResult.h:29
Aws::IoTWireless::Model::GetDeviceProfileResult::SetArn
void SetArn(const char *value)
Definition: GetDeviceProfileResult.h:54
Aws::IoTWireless::Model::GetDeviceProfileResult::WithArn
GetDeviceProfileResult & WithArn(Aws::String &&value)
Definition: GetDeviceProfileResult.h:64
Aws::IoTWireless::Model::GetDeviceProfileResult::SetName
void SetName(const char *value)
Definition: GetDeviceProfileResult.h:90
Aws::IoTWireless::Model::GetDeviceProfileResult::SetId
void SetId(const char *value)
Definition: GetDeviceProfileResult.h:126
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetDeviceProfileResult::WithArn
GetDeviceProfileResult & WithArn(const char *value)
Definition: GetDeviceProfileResult.h:69
LoRaWANDeviceProfile.h
Aws::IoTWireless::Model::GetDeviceProfileResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetDeviceProfileResult.h:49
Aws::IoTWireless::Model::GetDeviceProfileResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetDeviceProfileResult.h:44
Aws::IoTWireless::Model::GetDeviceProfileResult::SetName
void SetName(const Aws::String &value)
Definition: GetDeviceProfileResult.h:80