AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ResetDistributionCacheResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/Operation.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 Lightsail {
24namespace Model {
26 public:
27 AWS_LIGHTSAIL_API ResetDistributionCacheResult() = default;
30
32
35 inline const Aws::String& GetStatus() const { return m_status; }
36 template <typename StatusT = Aws::String>
37 void SetStatus(StatusT&& value) {
38 m_statusHasBeenSet = true;
39 m_status = std::forward<StatusT>(value);
40 }
41 template <typename StatusT = Aws::String>
43 SetStatus(std::forward<StatusT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
54 template <typename CreateTimeT = Aws::Utils::DateTime>
55 void SetCreateTime(CreateTimeT&& value) {
56 m_createTimeHasBeenSet = true;
57 m_createTime = std::forward<CreateTimeT>(value);
58 }
59 template <typename CreateTimeT = Aws::Utils::DateTime>
61 SetCreateTime(std::forward<CreateTimeT>(value));
62 return *this;
63 }
65
67
72 inline const Operation& GetOperation() const { return m_operation; }
73 template <typename OperationT = Operation>
74 void SetOperation(OperationT&& value) {
75 m_operationHasBeenSet = true;
76 m_operation = std::forward<OperationT>(value);
77 }
78 template <typename OperationT = Operation>
80 SetOperation(std::forward<OperationT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_status;
101
102 Aws::Utils::DateTime m_createTime{};
103
104 Operation m_operation;
105
106 Aws::String m_requestId;
107 bool m_statusHasBeenSet = false;
108 bool m_createTimeHasBeenSet = false;
109 bool m_operationHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Lightsail
115} // 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