AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetHubConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.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 IoTManagedIntegrations {
24namespace Model {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API GetHubConfigurationResult() = default;
29 AWS_IOTMANAGEDINTEGRATIONS_API GetHubConfigurationResult& operator=(
31
33
37 inline long long GetHubTokenTimerExpirySettingInSeconds() const { return m_hubTokenTimerExpirySettingInSeconds; }
38 inline void SetHubTokenTimerExpirySettingInSeconds(long long value) {
39 m_hubTokenTimerExpirySettingInSecondsHasBeenSet = true;
40 m_hubTokenTimerExpirySettingInSeconds = value;
41 }
47
49
52 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
53 template <typename UpdatedAtT = Aws::Utils::DateTime>
54 void SetUpdatedAt(UpdatedAtT&& value) {
55 m_updatedAtHasBeenSet = true;
56 m_updatedAt = std::forward<UpdatedAtT>(value);
57 }
58 template <typename UpdatedAtT = Aws::Utils::DateTime>
60 SetUpdatedAt(std::forward<UpdatedAtT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 long long m_hubTokenTimerExpirySettingInSeconds{0};
83
84 Aws::Utils::DateTime m_updatedAt{};
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_hubTokenTimerExpirySettingInSecondsHasBeenSet = false;
89 bool m_updatedAtHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace IoTManagedIntegrations
95} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetHubConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHubConfigurationResult & WithHubTokenTimerExpirySettingInSeconds(long long value)
GetHubConfigurationResult & WithUpdatedAt(UpdatedAtT &&value)
GetHubConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetHubConfigurationResult()=default
AWS_IOTMANAGEDINTEGRATIONS_API GetHubConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue