AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDeviceRegistrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SagemakerEdgeManager {
23namespace Model {
25 public:
26 AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult() = default;
28 AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult& operator=(
30
32
36 inline const Aws::String& GetDeviceRegistration() const { return m_deviceRegistration; }
37 template <typename DeviceRegistrationT = Aws::String>
38 void SetDeviceRegistration(DeviceRegistrationT&& value) {
39 m_deviceRegistrationHasBeenSet = true;
40 m_deviceRegistration = std::forward<DeviceRegistrationT>(value);
41 }
42 template <typename DeviceRegistrationT = Aws::String>
44 SetDeviceRegistration(std::forward<DeviceRegistrationT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetCacheTTL() const { return m_cacheTTL; }
55 template <typename CacheTTLT = Aws::String>
56 void SetCacheTTL(CacheTTLT&& value) {
57 m_cacheTTLHasBeenSet = true;
58 m_cacheTTL = std::forward<CacheTTLT>(value);
59 }
60 template <typename CacheTTLT = Aws::String>
62 SetCacheTTL(std::forward<CacheTTLT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::String m_deviceRegistration;
85
86 Aws::String m_cacheTTL;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_deviceRegistrationHasBeenSet = false;
91 bool m_cacheTTLHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SagemakerEdgeManager
97} // namespace Aws
GetDeviceRegistrationResult & WithDeviceRegistration(DeviceRegistrationT &&value)
AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceRegistrationResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult()=default
GetDeviceRegistrationResult & WithCacheTTL(CacheTTLT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue