AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetStatus() const{ return m_status; }
42 inline void SetStatus(const Aws::String& value) { m_status = value; }
43 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
44 inline void SetStatus(const char* value) { m_status.assign(value); }
45 inline ResetDistributionCacheResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
46 inline ResetDistributionCacheResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
47 inline ResetDistributionCacheResult& WithStatus(const char* value) { SetStatus(value); return *this;}
49
51
55 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
56 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
57 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
59 inline ResetDistributionCacheResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
61
63
68 inline const Operation& GetOperation() const{ return m_operation; }
69 inline void SetOperation(const Operation& value) { m_operation = value; }
70 inline void SetOperation(Operation&& value) { m_operation = std::move(value); }
71 inline ResetDistributionCacheResult& WithOperation(const Operation& value) { SetOperation(value); return *this;}
72 inline ResetDistributionCacheResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline ResetDistributionCacheResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline ResetDistributionCacheResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline ResetDistributionCacheResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_status;
88
89 Aws::Utils::DateTime m_createTime;
90
91 Operation m_operation;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace Lightsail
98} // namespace Aws
ResetDistributionCacheResult & WithOperation(const Operation &value)
ResetDistributionCacheResult & WithStatus(const char *value)
ResetDistributionCacheResult & WithStatus(const Aws::String &value)
ResetDistributionCacheResult & WithOperation(Operation &&value)
ResetDistributionCacheResult & WithCreateTime(Aws::Utils::DateTime &&value)
ResetDistributionCacheResult & WithRequestId(const char *value)
ResetDistributionCacheResult & WithStatus(Aws::String &&value)
AWS_LIGHTSAIL_API ResetDistributionCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResetDistributionCacheResult & WithCreateTime(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API ResetDistributionCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResetDistributionCacheResult & WithRequestId(Aws::String &&value)
ResetDistributionCacheResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue