AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetDeviceProfileResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 GetDeviceProfileResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetId() const { return m_id; }
64 template<typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 GetDeviceProfileResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
74 inline const LoRaWANDeviceProfile& GetLoRaWAN() const { return m_loRaWAN; }
75 template<typename LoRaWANT = LoRaWANDeviceProfile>
76 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
77 template<typename LoRaWANT = LoRaWANDeviceProfile>
78 GetDeviceProfileResult& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
80
82
85 inline const SidewalkGetDeviceProfile& GetSidewalk() const { return m_sidewalk; }
86 template<typename SidewalkT = SidewalkGetDeviceProfile>
87 void SetSidewalk(SidewalkT&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::forward<SidewalkT>(value); }
88 template<typename SidewalkT = SidewalkGetDeviceProfile>
89 GetDeviceProfileResult& WithSidewalk(SidewalkT&& value) { SetSidewalk(std::forward<SidewalkT>(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 GetDeviceProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_arn;
103 bool m_arnHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 LoRaWANDeviceProfile m_loRaWAN;
112 bool m_loRaWANHasBeenSet = false;
113
114 SidewalkGetDeviceProfile m_sidewalk;
115 bool m_sidewalkHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace IoTWireless
123} // namespace Aws
GetDeviceProfileResult & WithRequestId(RequestIdT &&value)
GetDeviceProfileResult & WithId(IdT &&value)
AWS_IOTWIRELESS_API GetDeviceProfileResult()=default
GetDeviceProfileResult & WithSidewalk(SidewalkT &&value)
AWS_IOTWIRELESS_API GetDeviceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceProfileResult & WithArn(ArnT &&value)
GetDeviceProfileResult & WithLoRaWAN(LoRaWANT &&value)
AWS_IOTWIRELESS_API GetDeviceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceProfileResult & WithName(NameT &&value)
const SidewalkGetDeviceProfile & GetSidewalk() const
const LoRaWANDeviceProfile & GetLoRaWAN() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue