AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDistributionLatestCacheResetResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LIGHTSAIL_API GetDistributionLatestCacheResetResult() = default;
34
35
37
40 inline const Aws::String& GetStatus() const { return m_status; }
41 template<typename StatusT = Aws::String>
42 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
43 template<typename StatusT = Aws::String>
44 GetDistributionLatestCacheResetResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
46
48
52 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
53 template<typename CreateTimeT = Aws::Utils::DateTime>
54 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
55 template<typename CreateTimeT = Aws::Utils::DateTime>
56 GetDistributionLatestCacheResetResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 GetDistributionLatestCacheResetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_status;
70 bool m_statusHasBeenSet = false;
71
72 Aws::Utils::DateTime m_createTime{};
73 bool m_createTimeHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Lightsail
81} // namespace Aws
AWS_LIGHTSAIL_API GetDistributionLatestCacheResetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDistributionLatestCacheResetResult & WithCreateTime(CreateTimeT &&value)
GetDistributionLatestCacheResetResult & WithStatus(StatusT &&value)
GetDistributionLatestCacheResetResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetDistributionLatestCacheResetResult & 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