AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ResetDistributionCacheResult.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/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/Operation.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail {
25namespace Model {
27 public:
28 AWS_LIGHTSAIL_API ResetDistributionCacheResult() = default;
31
33
36 inline const Aws::String& GetStatus() const { return m_status; }
37 template <typename StatusT = Aws::String>
38 void SetStatus(StatusT&& value) {
39 m_statusHasBeenSet = true;
40 m_status = std::forward<StatusT>(value);
41 }
42 template <typename StatusT = Aws::String>
44 SetStatus(std::forward<StatusT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
55 template <typename CreateTimeT = Aws::Utils::DateTime>
56 void SetCreateTime(CreateTimeT&& value) {
57 m_createTimeHasBeenSet = true;
58 m_createTime = std::forward<CreateTimeT>(value);
59 }
60 template <typename CreateTimeT = Aws::Utils::DateTime>
62 SetCreateTime(std::forward<CreateTimeT>(value));
63 return *this;
64 }
66
68
73 inline const Operation& GetOperation() const { return m_operation; }
74 template <typename OperationT = Operation>
75 void SetOperation(OperationT&& value) {
76 m_operationHasBeenSet = true;
77 m_operation = std::forward<OperationT>(value);
78 }
79 template <typename OperationT = Operation>
81 SetOperation(std::forward<OperationT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_status;
104
105 Aws::Utils::DateTime m_createTime{};
106
107 Operation m_operation;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_statusHasBeenSet = false;
112 bool m_createTimeHasBeenSet = false;
113 bool m_operationHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Lightsail
119} // namespace Aws
ResetDistributionCacheResult & WithCreateTime(CreateTimeT &&value)
ResetDistributionCacheResult & WithOperation(OperationT &&value)
ResetDistributionCacheResult & WithStatus(StatusT &&value)
AWS_LIGHTSAIL_API ResetDistributionCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API ResetDistributionCacheResult()=default
ResetDistributionCacheResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API ResetDistributionCacheResult & 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