AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReadinessCheckResourceStatusResult.h
1
6#pragma once
7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-readiness/model/Readiness.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/route53-recovery-readiness/model/RuleResult.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Route53RecoveryReadiness
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResourceStatusResult();
36
37
39
42 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
44 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
45 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
46 inline GetReadinessCheckResourceStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
47 inline GetReadinessCheckResourceStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
48 inline GetReadinessCheckResourceStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
50
52
55 inline const Readiness& GetReadiness() const{ return m_readiness; }
56 inline void SetReadiness(const Readiness& value) { m_readiness = value; }
57 inline void SetReadiness(Readiness&& value) { m_readiness = std::move(value); }
58 inline GetReadinessCheckResourceStatusResult& WithReadiness(const Readiness& value) { SetReadiness(value); return *this;}
59 inline GetReadinessCheckResourceStatusResult& WithReadiness(Readiness&& value) { SetReadiness(std::move(value)); return *this;}
61
63
66 inline const Aws::Vector<RuleResult>& GetRules() const{ return m_rules; }
67 inline void SetRules(const Aws::Vector<RuleResult>& value) { m_rules = value; }
68 inline void SetRules(Aws::Vector<RuleResult>&& value) { m_rules = std::move(value); }
70 inline GetReadinessCheckResourceStatusResult& WithRules(Aws::Vector<RuleResult>&& value) { SetRules(std::move(value)); return *this;}
71 inline GetReadinessCheckResourceStatusResult& AddRules(const RuleResult& value) { m_rules.push_back(value); return *this; }
72 inline GetReadinessCheckResourceStatusResult& AddRules(RuleResult&& value) { m_rules.push_back(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 GetReadinessCheckResourceStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline GetReadinessCheckResourceStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline GetReadinessCheckResourceStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_nextToken;
88
89 Readiness m_readiness;
90
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace Route53RecoveryReadiness
98} // namespace Aws
GetReadinessCheckResourceStatusResult & WithReadiness(const Readiness &value)
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResourceStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReadinessCheckResourceStatusResult & WithRequestId(const Aws::String &value)
GetReadinessCheckResourceStatusResult & WithNextToken(const Aws::String &value)
GetReadinessCheckResourceStatusResult & WithRules(Aws::Vector< RuleResult > &&value)
GetReadinessCheckResourceStatusResult & WithRules(const Aws::Vector< RuleResult > &value)
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResourceStatusResult(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