AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDeviceProfileResult.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/LoRaWANDeviceProfile.h>
10#include <aws/iotwireless/model/SidewalkGetDeviceProfile.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTWireless
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTWIRELESS_API GetDeviceProfileResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetDeviceProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetDeviceProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetDeviceProfileResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline GetDeviceProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline GetDeviceProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline GetDeviceProfileResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetId() const{ return m_id; }
68 inline void SetId(const Aws::String& value) { m_id = value; }
69 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
70 inline void SetId(const char* value) { m_id.assign(value); }
71 inline GetDeviceProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;}
72 inline GetDeviceProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 inline GetDeviceProfileResult& WithId(const char* value) { SetId(value); return *this;}
75
77
80 inline const LoRaWANDeviceProfile& GetLoRaWAN() const{ return m_loRaWAN; }
81 inline void SetLoRaWAN(const LoRaWANDeviceProfile& value) { m_loRaWAN = value; }
82 inline void SetLoRaWAN(LoRaWANDeviceProfile&& value) { m_loRaWAN = std::move(value); }
83 inline GetDeviceProfileResult& WithLoRaWAN(const LoRaWANDeviceProfile& value) { SetLoRaWAN(value); return *this;}
84 inline GetDeviceProfileResult& WithLoRaWAN(LoRaWANDeviceProfile&& value) { SetLoRaWAN(std::move(value)); return *this;}
86
88
91 inline const SidewalkGetDeviceProfile& GetSidewalk() const{ return m_sidewalk; }
92 inline void SetSidewalk(const SidewalkGetDeviceProfile& value) { m_sidewalk = value; }
93 inline void SetSidewalk(SidewalkGetDeviceProfile&& value) { m_sidewalk = std::move(value); }
94 inline GetDeviceProfileResult& WithSidewalk(const SidewalkGetDeviceProfile& value) { SetSidewalk(value); return *this;}
95 inline GetDeviceProfileResult& WithSidewalk(SidewalkGetDeviceProfile&& value) { SetSidewalk(std::move(value)); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline GetDeviceProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline GetDeviceProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline GetDeviceProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::String m_arn;
111
112 Aws::String m_name;
113
114 Aws::String m_id;
115
116 LoRaWANDeviceProfile m_loRaWAN;
117
118 SidewalkGetDeviceProfile m_sidewalk;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace IoTWireless
125} // namespace Aws
GetDeviceProfileResult & WithName(const Aws::String &value)
GetDeviceProfileResult & WithArn(Aws::String &&value)
GetDeviceProfileResult & WithName(Aws::String &&value)
GetDeviceProfileResult & WithLoRaWAN(LoRaWANDeviceProfile &&value)
GetDeviceProfileResult & WithId(const char *value)
GetDeviceProfileResult & WithRequestId(Aws::String &&value)
void SetSidewalk(const SidewalkGetDeviceProfile &value)
GetDeviceProfileResult & WithId(Aws::String &&value)
AWS_IOTWIRELESS_API GetDeviceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceProfileResult & WithName(const char *value)
GetDeviceProfileResult & WithSidewalk(const SidewalkGetDeviceProfile &value)
void SetLoRaWAN(const LoRaWANDeviceProfile &value)
GetDeviceProfileResult & WithLoRaWAN(const LoRaWANDeviceProfile &value)
AWS_IOTWIRELESS_API GetDeviceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceProfileResult & WithArn(const Aws::String &value)
const SidewalkGetDeviceProfile & GetSidewalk() const
const LoRaWANDeviceProfile & GetLoRaWAN() const
GetDeviceProfileResult & WithArn(const char *value)
void SetSidewalk(SidewalkGetDeviceProfile &&value)
GetDeviceProfileResult & WithId(const Aws::String &value)
GetDeviceProfileResult & WithRequestId(const char *value)
GetDeviceProfileResult & WithRequestId(const Aws::String &value)
GetDeviceProfileResult & WithSidewalk(SidewalkGetDeviceProfile &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue