AWS SDK for C++  1.9.102
AWS SDK for C++
ResetDistributionCacheResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetStatus() const{ return m_status; }
41 
45  inline void SetStatus(const Aws::String& value) { m_status = value; }
46 
50  inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
51 
55  inline void SetStatus(const char* value) { m_status.assign(value); }
56 
60  inline ResetDistributionCacheResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
61 
65  inline ResetDistributionCacheResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
66 
70  inline ResetDistributionCacheResult& WithStatus(const char* value) { SetStatus(value); return *this;}
71 
72 
77  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
78 
83  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
84 
89  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
90 
95  inline ResetDistributionCacheResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
96 
101  inline ResetDistributionCacheResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
102 
103 
109  inline const Operation& GetOperation() const{ return m_operation; }
110 
116  inline void SetOperation(const Operation& value) { m_operation = value; }
117 
123  inline void SetOperation(Operation&& value) { m_operation = std::move(value); }
124 
130  inline ResetDistributionCacheResult& WithOperation(const Operation& value) { SetOperation(value); return *this;}
131 
137  inline ResetDistributionCacheResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
138 
139  private:
140 
141  Aws::String m_status;
142 
143  Aws::Utils::DateTime m_createTime;
144 
145  Operation m_operation;
146  };
147 
148 } // namespace Model
149 } // namespace Lightsail
150 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::ResetDistributionCacheResult::GetStatus
const Aws::String & GetStatus() const
Definition: ResetDistributionCacheResult.h:40
Aws::Lightsail::Model::ResetDistributionCacheResult::SetStatus
void SetStatus(const char *value)
Definition: ResetDistributionCacheResult.h:55
Aws::Lightsail::Model::ResetDistributionCacheResult::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: ResetDistributionCacheResult.h:83
Aws::Lightsail::Model::ResetDistributionCacheResult::WithOperation
ResetDistributionCacheResult & WithOperation(const Operation &value)
Definition: ResetDistributionCacheResult.h:130
Aws::Lightsail::Model::ResetDistributionCacheResult::WithStatus
ResetDistributionCacheResult & WithStatus(const char *value)
Definition: ResetDistributionCacheResult.h:70
Aws::Lightsail::Model::ResetDistributionCacheResult::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: ResetDistributionCacheResult.h:89
DateTime.h
Aws::Lightsail::Model::Operation
Definition: Operation.h:37
Aws::Lightsail::Model::ResetDistributionCacheResult::WithOperation
ResetDistributionCacheResult & WithOperation(Operation &&value)
Definition: ResetDistributionCacheResult.h:137
Aws::Lightsail::Model::ResetDistributionCacheResult::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: ResetDistributionCacheResult.h:77
Aws::Lightsail::Model::ResetDistributionCacheResult
Definition: ResetDistributionCacheResult.h:30
Aws::Lightsail::Model::ResetDistributionCacheResult::WithCreateTime
ResetDistributionCacheResult & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: ResetDistributionCacheResult.h:101
Aws::Lightsail::Model::ResetDistributionCacheResult::ResetDistributionCacheResult
ResetDistributionCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::ResetDistributionCacheResult::ResetDistributionCacheResult
ResetDistributionCacheResult()
Aws::Lightsail::Model::ResetDistributionCacheResult::GetOperation
const Operation & GetOperation() const
Definition: ResetDistributionCacheResult.h:109
Aws::Lightsail::Model::ResetDistributionCacheResult::operator=
ResetDistributionCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Lightsail::Model::ResetDistributionCacheResult::WithStatus
ResetDistributionCacheResult & WithStatus(Aws::String &&value)
Definition: ResetDistributionCacheResult.h:65
Aws::Lightsail::Model::ResetDistributionCacheResult::WithCreateTime
ResetDistributionCacheResult & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: ResetDistributionCacheResult.h:95
Lightsail_EXPORTS.h
Aws::Lightsail::Model::ResetDistributionCacheResult::SetOperation
void SetOperation(const Operation &value)
Definition: ResetDistributionCacheResult.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::ResetDistributionCacheResult::SetStatus
void SetStatus(const Aws::String &value)
Definition: ResetDistributionCacheResult.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::ResetDistributionCacheResult::SetOperation
void SetOperation(Operation &&value)
Definition: ResetDistributionCacheResult.h:123
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::ResetDistributionCacheResult::WithStatus
ResetDistributionCacheResult & WithStatus(const Aws::String &value)
Definition: ResetDistributionCacheResult.h:60
Operation.h
Aws::Lightsail::Model::ResetDistributionCacheResult::SetStatus
void SetStatus(Aws::String &&value)
Definition: ResetDistributionCacheResult.h:50