AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetServiceProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/LoRaWANGetServiceProfileInfo.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
26 public:
27 AWS_IOTWIRELESS_API GetServiceProfileResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 template <typename IdT = Aws::String>
71 void SetId(IdT&& value) {
72 m_idHasBeenSet = true;
73 m_id = std::forward<IdT>(value);
74 }
75 template <typename IdT = Aws::String>
77 SetId(std::forward<IdT>(value));
78 return *this;
79 }
81
83
86 inline const LoRaWANGetServiceProfileInfo& GetLoRaWAN() const { return m_loRaWAN; }
87 template <typename LoRaWANT = LoRaWANGetServiceProfileInfo>
88 void SetLoRaWAN(LoRaWANT&& value) {
89 m_loRaWANHasBeenSet = true;
90 m_loRaWAN = std::forward<LoRaWANT>(value);
91 }
92 template <typename LoRaWANT = LoRaWANGetServiceProfileInfo>
94 SetLoRaWAN(std::forward<LoRaWANT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_arn;
117
118 Aws::String m_name;
119
120 Aws::String m_id;
121
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_arnHasBeenSet = false;
127 bool m_nameHasBeenSet = false;
128 bool m_idHasBeenSet = false;
129 bool m_loRaWANHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace IoTWireless
135} // namespace Aws
GetServiceProfileResult & WithName(NameT &&value)
AWS_IOTWIRELESS_API GetServiceProfileResult()=default
AWS_IOTWIRELESS_API GetServiceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetServiceProfileResult & WithId(IdT &&value)
const LoRaWANGetServiceProfileInfo & GetLoRaWAN() const
GetServiceProfileResult & WithArn(ArnT &&value)
AWS_IOTWIRELESS_API GetServiceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceProfileResult & WithRequestId(RequestIdT &&value)
GetServiceProfileResult & WithLoRaWAN(LoRaWANT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue