AWS SDK for C++  1.9.105
AWS SDK for C++
GetDistributionLatestCacheResetResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetStatus() const{ return m_status; }
40 
44  inline void SetStatus(const Aws::String& value) { m_status = value; }
45 
49  inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
50 
54  inline void SetStatus(const char* value) { m_status.assign(value); }
55 
59  inline GetDistributionLatestCacheResetResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
60 
64  inline GetDistributionLatestCacheResetResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
65 
69  inline GetDistributionLatestCacheResetResult& WithStatus(const char* value) { SetStatus(value); return *this;}
70 
71 
76  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
77 
82  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
83 
88  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
89 
94  inline GetDistributionLatestCacheResetResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
95 
100  inline GetDistributionLatestCacheResetResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
101 
102  private:
103 
104  Aws::String m_status;
105 
106  Aws::Utils::DateTime m_createTime;
107  };
108 
109 } // namespace Model
110 } // namespace Lightsail
111 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::WithStatus
GetDistributionLatestCacheResetResult & WithStatus(const Aws::String &value)
Definition: GetDistributionLatestCacheResetResult.h:59
DateTime.h
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::GetDistributionLatestCacheResetResult
GetDistributionLatestCacheResetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: GetDistributionLatestCacheResetResult.h:88
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::WithCreateTime
GetDistributionLatestCacheResetResult & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: GetDistributionLatestCacheResetResult.h:94
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::SetStatus
void SetStatus(const Aws::String &value)
Definition: GetDistributionLatestCacheResetResult.h:44
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::GetDistributionLatestCacheResetResult
GetDistributionLatestCacheResetResult()
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::SetStatus
void SetStatus(Aws::String &&value)
Definition: GetDistributionLatestCacheResetResult.h:49
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::WithCreateTime
GetDistributionLatestCacheResetResult & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: GetDistributionLatestCacheResetResult.h:100
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::operator=
GetDistributionLatestCacheResetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::WithStatus
GetDistributionLatestCacheResetResult & WithStatus(const char *value)
Definition: GetDistributionLatestCacheResetResult.h:69
AWSString.h
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult
Definition: GetDistributionLatestCacheResetResult.h:29
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::WithStatus
GetDistributionLatestCacheResetResult & WithStatus(Aws::String &&value)
Definition: GetDistributionLatestCacheResetResult.h:64
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: GetDistributionLatestCacheResetResult.h:82
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: GetDistributionLatestCacheResetResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::SetStatus
void SetStatus(const char *value)
Definition: GetDistributionLatestCacheResetResult.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetDistributionLatestCacheResetResult::GetStatus
const Aws::String & GetStatus() const
Definition: GetDistributionLatestCacheResetResult.h:39
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28