AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetReadinessCheckResult.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/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Route53RecoveryReadiness
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResult() = default;
34
35
37
40 inline const Aws::String& GetReadinessCheckArn() const { return m_readinessCheckArn; }
41 template<typename ReadinessCheckArnT = Aws::String>
42 void SetReadinessCheckArn(ReadinessCheckArnT&& value) { m_readinessCheckArnHasBeenSet = true; m_readinessCheckArn = std::forward<ReadinessCheckArnT>(value); }
43 template<typename ReadinessCheckArnT = Aws::String>
44 GetReadinessCheckResult& WithReadinessCheckArn(ReadinessCheckArnT&& value) { SetReadinessCheckArn(std::forward<ReadinessCheckArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetReadinessCheckName() const { return m_readinessCheckName; }
52 template<typename ReadinessCheckNameT = Aws::String>
53 void SetReadinessCheckName(ReadinessCheckNameT&& value) { m_readinessCheckNameHasBeenSet = true; m_readinessCheckName = std::forward<ReadinessCheckNameT>(value); }
54 template<typename ReadinessCheckNameT = Aws::String>
55 GetReadinessCheckResult& WithReadinessCheckName(ReadinessCheckNameT&& value) { SetReadinessCheckName(std::forward<ReadinessCheckNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetResourceSet() const { return m_resourceSet; }
63 template<typename ResourceSetT = Aws::String>
64 void SetResourceSet(ResourceSetT&& value) { m_resourceSetHasBeenSet = true; m_resourceSet = std::forward<ResourceSetT>(value); }
65 template<typename ResourceSetT = Aws::String>
66 GetReadinessCheckResult& WithResourceSet(ResourceSetT&& value) { SetResourceSet(std::forward<ResourceSetT>(value)); return *this;}
68
70
71 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
72 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
74 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
75 GetReadinessCheckResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
76 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
77 GetReadinessCheckResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
78 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template<typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
87 template<typename RequestIdT = Aws::String>
88 GetReadinessCheckResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_readinessCheckArn;
93 bool m_readinessCheckArnHasBeenSet = false;
94
95 Aws::String m_readinessCheckName;
96 bool m_readinessCheckNameHasBeenSet = false;
97
98 Aws::String m_resourceSet;
99 bool m_resourceSetHasBeenSet = false;
100
102 bool m_tagsHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Route53RecoveryReadiness
110} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResult()=default
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReadinessCheckResult & WithReadinessCheckArn(ReadinessCheckArnT &&value)
GetReadinessCheckResult & WithResourceSet(ResourceSetT &&value)
AWS_ROUTE53RECOVERYREADINESS_API GetReadinessCheckResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReadinessCheckResult & WithReadinessCheckName(ReadinessCheckNameT &&value)
GetReadinessCheckResult & WithRequestId(RequestIdT &&value)
GetReadinessCheckResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue