AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReadinessCheckResult.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 CreateReadinessCheckResult();
34
35
37
40 inline const Aws::String& GetReadinessCheckArn() const{ return m_readinessCheckArn; }
41 inline void SetReadinessCheckArn(const Aws::String& value) { m_readinessCheckArn = value; }
42 inline void SetReadinessCheckArn(Aws::String&& value) { m_readinessCheckArn = std::move(value); }
43 inline void SetReadinessCheckArn(const char* value) { m_readinessCheckArn.assign(value); }
45 inline CreateReadinessCheckResult& WithReadinessCheckArn(Aws::String&& value) { SetReadinessCheckArn(std::move(value)); return *this;}
46 inline CreateReadinessCheckResult& WithReadinessCheckArn(const char* value) { SetReadinessCheckArn(value); return *this;}
48
50
53 inline const Aws::String& GetReadinessCheckName() const{ return m_readinessCheckName; }
54 inline void SetReadinessCheckName(const Aws::String& value) { m_readinessCheckName = value; }
55 inline void SetReadinessCheckName(Aws::String&& value) { m_readinessCheckName = std::move(value); }
56 inline void SetReadinessCheckName(const char* value) { m_readinessCheckName.assign(value); }
58 inline CreateReadinessCheckResult& WithReadinessCheckName(Aws::String&& value) { SetReadinessCheckName(std::move(value)); return *this;}
59 inline CreateReadinessCheckResult& WithReadinessCheckName(const char* value) { SetReadinessCheckName(value); return *this;}
61
63
66 inline const Aws::String& GetResourceSet() const{ return m_resourceSet; }
67 inline void SetResourceSet(const Aws::String& value) { m_resourceSet = value; }
68 inline void SetResourceSet(Aws::String&& value) { m_resourceSet = std::move(value); }
69 inline void SetResourceSet(const char* value) { m_resourceSet.assign(value); }
70 inline CreateReadinessCheckResult& WithResourceSet(const Aws::String& value) { SetResourceSet(value); return *this;}
71 inline CreateReadinessCheckResult& WithResourceSet(Aws::String&& value) { SetResourceSet(std::move(value)); return *this;}
72 inline CreateReadinessCheckResult& WithResourceSet(const char* value) { SetResourceSet(value); return *this;}
74
76
77 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
78 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
79 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
81 inline CreateReadinessCheckResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
82 inline CreateReadinessCheckResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
83 inline CreateReadinessCheckResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
84 inline CreateReadinessCheckResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateReadinessCheckResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
86 inline CreateReadinessCheckResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
87 inline CreateReadinessCheckResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
88 inline CreateReadinessCheckResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline CreateReadinessCheckResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline CreateReadinessCheckResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline CreateReadinessCheckResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_readinessCheckArn;
104
105 Aws::String m_readinessCheckName;
106
107 Aws::String m_resourceSet;
108
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace Route53RecoveryReadiness
116} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API CreateReadinessCheckResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReadinessCheckResult & WithRequestId(Aws::String &&value)
CreateReadinessCheckResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateReadinessCheckResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateReadinessCheckResult & WithResourceSet(Aws::String &&value)
CreateReadinessCheckResult & WithReadinessCheckName(const char *value)
CreateReadinessCheckResult & AddTags(const char *key, Aws::String &&value)
CreateReadinessCheckResult & AddTags(Aws::String &&key, const char *value)
CreateReadinessCheckResult & WithReadinessCheckName(const Aws::String &value)
CreateReadinessCheckResult & WithResourceSet(const Aws::String &value)
CreateReadinessCheckResult & AddTags(const char *key, const char *value)
CreateReadinessCheckResult & WithReadinessCheckArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateReadinessCheckResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReadinessCheckResult & WithReadinessCheckArn(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReadinessCheckResult & WithRequestId(const Aws::String &value)
CreateReadinessCheckResult & AddTags(Aws::String &&key, Aws::String &&value)
AWS_ROUTE53RECOVERYREADINESS_API CreateReadinessCheckResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReadinessCheckResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReadinessCheckResult & WithReadinessCheckArn(const Aws::String &value)
CreateReadinessCheckResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateReadinessCheckResult & WithReadinessCheckName(Aws::String &&value)
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