AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetDeviceRegistrationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace SagemakerEdgeManager {
22namespace Model {
24 public:
25 AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult() = default;
27 AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult& operator=(
29
31
35 inline const Aws::String& GetDeviceRegistration() const { return m_deviceRegistration; }
36 template <typename DeviceRegistrationT = Aws::String>
37 void SetDeviceRegistration(DeviceRegistrationT&& value) {
38 m_deviceRegistrationHasBeenSet = true;
39 m_deviceRegistration = std::forward<DeviceRegistrationT>(value);
40 }
41 template <typename DeviceRegistrationT = Aws::String>
43 SetDeviceRegistration(std::forward<DeviceRegistrationT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetCacheTTL() const { return m_cacheTTL; }
54 template <typename CacheTTLT = Aws::String>
55 void SetCacheTTL(CacheTTLT&& value) {
56 m_cacheTTLHasBeenSet = true;
57 m_cacheTTL = std::forward<CacheTTLT>(value);
58 }
59 template <typename CacheTTLT = Aws::String>
61 SetCacheTTL(std::forward<CacheTTLT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_deviceRegistration;
82
83 Aws::String m_cacheTTL;
84
85 Aws::String m_requestId;
86 bool m_deviceRegistrationHasBeenSet = false;
87 bool m_cacheTTLHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace SagemakerEdgeManager
93} // 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