AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResetDistributionCacheResult.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 <aws/lightsail/model/Operation.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Lightsail
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LIGHTSAIL_API ResetDistributionCacheResult() = default;
35
36
38
41 inline const Aws::String& GetStatus() const { return m_status; }
42 template<typename StatusT = Aws::String>
43 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
44 template<typename StatusT = Aws::String>
45 ResetDistributionCacheResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
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) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
56 template<typename CreateTimeT = Aws::Utils::DateTime>
57 ResetDistributionCacheResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
59
61
66 inline const Operation& GetOperation() const { return m_operation; }
67 template<typename OperationT = Operation>
68 void SetOperation(OperationT&& value) { m_operationHasBeenSet = true; m_operation = std::forward<OperationT>(value); }
69 template<typename OperationT = Operation>
70 ResetDistributionCacheResult& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 ResetDistributionCacheResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_status;
84 bool m_statusHasBeenSet = false;
85
86 Aws::Utils::DateTime m_createTime{};
87 bool m_createTimeHasBeenSet = false;
88
89 Operation m_operation;
90 bool m_operationHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Lightsail
98} // 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