AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeAvailabilityMonitorTestResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <aws/storagegateway/model/AvailabilityMonitorTestStatus.h>
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 StorageGateway
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
37 
38  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 
40 
41  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
42 
43 
44  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
45 
46 
47  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
48 
49 
50  inline DescribeAvailabilityMonitorTestResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
51 
52 
53  inline DescribeAvailabilityMonitorTestResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
54 
55 
56  inline DescribeAvailabilityMonitorTestResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
57 
58 
63  inline const AvailabilityMonitorTestStatus& GetStatus() const{ return m_status; }
64 
69  inline void SetStatus(const AvailabilityMonitorTestStatus& value) { m_status = value; }
70 
75  inline void SetStatus(AvailabilityMonitorTestStatus&& value) { m_status = std::move(value); }
76 
81  inline DescribeAvailabilityMonitorTestResult& WithStatus(const AvailabilityMonitorTestStatus& value) { SetStatus(value); return *this;}
82 
87  inline DescribeAvailabilityMonitorTestResult& WithStatus(AvailabilityMonitorTestStatus&& value) { SetStatus(std::move(value)); return *this;}
88 
89 
94  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
95 
100  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
101 
106  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
107 
112  inline DescribeAvailabilityMonitorTestResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
113 
118  inline DescribeAvailabilityMonitorTestResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
119 
120  private:
121 
122  Aws::String m_gatewayARN;
123 
124  AvailabilityMonitorTestStatus m_status;
125 
126  Aws::Utils::DateTime m_startTime;
127  };
128 
129 } // namespace Model
130 } // namespace StorageGateway
131 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeAvailabilityMonitorTestResult.h:44
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithGatewayARN
DescribeAvailabilityMonitorTestResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeAvailabilityMonitorTestResult.h:50
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithStartTime
DescribeAvailabilityMonitorTestResult & WithStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeAvailabilityMonitorTestResult.h:112
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithGatewayARN
DescribeAvailabilityMonitorTestResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeAvailabilityMonitorTestResult.h:53
DateTime.h
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithStatus
DescribeAvailabilityMonitorTestResult & WithStatus(const AvailabilityMonitorTestStatus &value)
Definition: DescribeAvailabilityMonitorTestResult.h:81
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetStatus
void SetStatus(AvailabilityMonitorTestStatus &&value)
Definition: DescribeAvailabilityMonitorTestResult.h:75
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetStatus
void SetStatus(const AvailabilityMonitorTestStatus &value)
Definition: DescribeAvailabilityMonitorTestResult.h:69
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::DescribeAvailabilityMonitorTestResult
DescribeAvailabilityMonitorTestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithStartTime
DescribeAvailabilityMonitorTestResult & WithStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeAvailabilityMonitorTestResult.h:118
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithStatus
DescribeAvailabilityMonitorTestResult & WithStatus(AvailabilityMonitorTestStatus &&value)
Definition: DescribeAvailabilityMonitorTestResult.h:87
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::GetStatus
const AvailabilityMonitorTestStatus & GetStatus() const
Definition: DescribeAvailabilityMonitorTestResult.h:63
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::DescribeAvailabilityMonitorTestResult
DescribeAvailabilityMonitorTestResult()
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeAvailabilityMonitorTestResult.h:47
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeAvailabilityMonitorTestResult.h:41
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeAvailabilityMonitorTestResult.h:100
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeAvailabilityMonitorTestResult.h:106
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeAvailabilityMonitorTestResult.h:38
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult
Definition: DescribeAvailabilityMonitorTestResult.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: DescribeAvailabilityMonitorTestResult.h:94
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::WithGatewayARN
DescribeAvailabilityMonitorTestResult & WithGatewayARN(const char *value)
Definition: DescribeAvailabilityMonitorTestResult.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeAvailabilityMonitorTestResult::operator=
DescribeAvailabilityMonitorTestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)