AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
GetCellReadinessSummaryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
11#include <aws/route53-recovery-readiness/model/Readiness.h>
12#include <aws/route53-recovery-readiness/model/ReadinessCheckSummary.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Route53RecoveryReadiness {
26namespace Model {
28 public:
29 AWS_ROUTE53RECOVERYREADINESS_API GetCellReadinessSummaryResult() = default;
31 AWS_ROUTE53RECOVERYREADINESS_API GetCellReadinessSummaryResult& operator=(
33
35
38 inline const Aws::String& GetNextToken() const { return m_nextToken; }
39 template <typename NextTokenT = Aws::String>
40 void SetNextToken(NextTokenT&& value) {
41 m_nextTokenHasBeenSet = true;
42 m_nextToken = std::forward<NextTokenT>(value);
43 }
44 template <typename NextTokenT = Aws::String>
46 SetNextToken(std::forward<NextTokenT>(value));
47 return *this;
48 }
50
52
55 inline Readiness GetReadiness() const { return m_readiness; }
56 inline void SetReadiness(Readiness value) {
57 m_readinessHasBeenSet = true;
58 m_readiness = value;
59 }
61 SetReadiness(value);
62 return *this;
63 }
65
67
70 inline const Aws::Vector<ReadinessCheckSummary>& GetReadinessChecks() const { return m_readinessChecks; }
71 template <typename ReadinessChecksT = Aws::Vector<ReadinessCheckSummary>>
72 void SetReadinessChecks(ReadinessChecksT&& value) {
73 m_readinessChecksHasBeenSet = true;
74 m_readinessChecks = std::forward<ReadinessChecksT>(value);
75 }
76 template <typename ReadinessChecksT = Aws::Vector<ReadinessCheckSummary>>
78 SetReadinessChecks(std::forward<ReadinessChecksT>(value));
79 return *this;
80 }
81 template <typename ReadinessChecksT = ReadinessCheckSummary>
83 m_readinessChecksHasBeenSet = true;
84 m_readinessChecks.emplace_back(std::forward<ReadinessChecksT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::String m_nextToken;
107
108 Readiness m_readiness{Readiness::NOT_SET};
109
110 Aws::Vector<ReadinessCheckSummary> m_readinessChecks;
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_nextTokenHasBeenSet = false;
115 bool m_readinessHasBeenSet = false;
116 bool m_readinessChecksHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Route53RecoveryReadiness
122} // namespace Aws
const Aws::Vector< ReadinessCheckSummary > & GetReadinessChecks() const
GetCellReadinessSummaryResult & WithReadinessChecks(ReadinessChecksT &&value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellReadinessSummaryResult()=default
AWS_ROUTE53RECOVERYREADINESS_API GetCellReadinessSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCellReadinessSummaryResult & AddReadinessChecks(ReadinessChecksT &&value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellReadinessSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue