AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReadinessCheckStatusResult.h
1
6#pragma once
7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53-recovery-readiness/model/Readiness.h>
11#include <aws/route53-recovery-readiness/model/Message.h>
12#include <aws/route53-recovery-readiness/model/ResourceResult.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Route53RecoveryReadiness
28{
29namespace Model
30{
32 {
33 public:
34 AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusResult();
37
38
40
43 inline const Aws::Vector<Message>& GetMessages() const{ return m_messages; }
44 inline void SetMessages(const Aws::Vector<Message>& value) { m_messages = value; }
45 inline void SetMessages(Aws::Vector<Message>&& value) { m_messages = std::move(value); }
46 inline GetReadinessCheckStatusResult& WithMessages(const Aws::Vector<Message>& value) { SetMessages(value); return *this;}
47 inline GetReadinessCheckStatusResult& WithMessages(Aws::Vector<Message>&& value) { SetMessages(std::move(value)); return *this;}
48 inline GetReadinessCheckStatusResult& AddMessages(const Message& value) { m_messages.push_back(value); return *this; }
49 inline GetReadinessCheckStatusResult& AddMessages(Message&& value) { m_messages.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
57 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 inline GetReadinessCheckStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline GetReadinessCheckStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline GetReadinessCheckStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64
66
69 inline const Readiness& GetReadiness() const{ return m_readiness; }
70 inline void SetReadiness(const Readiness& value) { m_readiness = value; }
71 inline void SetReadiness(Readiness&& value) { m_readiness = std::move(value); }
72 inline GetReadinessCheckStatusResult& WithReadiness(const Readiness& value) { SetReadiness(value); return *this;}
73 inline GetReadinessCheckStatusResult& WithReadiness(Readiness&& value) { SetReadiness(std::move(value)); return *this;}
75
77
80 inline const Aws::Vector<ResourceResult>& GetResources() const{ return m_resources; }
81 inline void SetResources(const Aws::Vector<ResourceResult>& value) { m_resources = value; }
82 inline void SetResources(Aws::Vector<ResourceResult>&& value) { m_resources = std::move(value); }
84 inline GetReadinessCheckStatusResult& WithResources(Aws::Vector<ResourceResult>&& value) { SetResources(std::move(value)); return *this;}
85 inline GetReadinessCheckStatusResult& AddResources(const ResourceResult& value) { m_resources.push_back(value); return *this; }
86 inline GetReadinessCheckStatusResult& AddResources(ResourceResult&& value) { m_resources.push_back(std::move(value)); return *this; }
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline GetReadinessCheckStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline GetReadinessCheckStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline GetReadinessCheckStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::Vector<Message> m_messages;
102
103 Aws::String m_nextToken;
104
105 Readiness m_readiness;
106
107 Aws::Vector<ResourceResult> m_resources;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace Route53RecoveryReadiness
114} // namespace Aws
GetReadinessCheckStatusResult & WithReadiness(const Readiness &value)
GetReadinessCheckStatusResult & WithNextToken(const Aws::String &value)
GetReadinessCheckStatusResult & WithRequestId(const Aws::String &value)
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReadinessCheckStatusResult & AddMessages(const Message &value)
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReadinessCheckStatusResult & WithResources(Aws::Vector< ResourceResult > &&value)
GetReadinessCheckStatusResult & AddResources(ResourceResult &&value)
GetReadinessCheckStatusResult & WithMessages(const Aws::Vector< Message > &value)
GetReadinessCheckStatusResult & AddResources(const ResourceResult &value)
GetReadinessCheckStatusResult & WithMessages(Aws::Vector< Message > &&value)
GetReadinessCheckStatusResult & WithResources(const Aws::Vector< ResourceResult > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue