AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRecoveryGroupResult.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Route53RecoveryReadiness
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ROUTE53RECOVERYREADINESS_API GetRecoveryGroupResult();
35
36
38
41 inline const Aws::Vector<Aws::String>& GetCells() const{ return m_cells; }
42 inline void SetCells(const Aws::Vector<Aws::String>& value) { m_cells = value; }
43 inline void SetCells(Aws::Vector<Aws::String>&& value) { m_cells = std::move(value); }
44 inline GetRecoveryGroupResult& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
45 inline GetRecoveryGroupResult& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
46 inline GetRecoveryGroupResult& AddCells(const Aws::String& value) { m_cells.push_back(value); return *this; }
47 inline GetRecoveryGroupResult& AddCells(Aws::String&& value) { m_cells.push_back(std::move(value)); return *this; }
48 inline GetRecoveryGroupResult& AddCells(const char* value) { m_cells.push_back(value); return *this; }
50
52
55 inline const Aws::String& GetRecoveryGroupArn() const{ return m_recoveryGroupArn; }
56 inline void SetRecoveryGroupArn(const Aws::String& value) { m_recoveryGroupArn = value; }
57 inline void SetRecoveryGroupArn(Aws::String&& value) { m_recoveryGroupArn = std::move(value); }
58 inline void SetRecoveryGroupArn(const char* value) { m_recoveryGroupArn.assign(value); }
59 inline GetRecoveryGroupResult& WithRecoveryGroupArn(const Aws::String& value) { SetRecoveryGroupArn(value); return *this;}
60 inline GetRecoveryGroupResult& WithRecoveryGroupArn(Aws::String&& value) { SetRecoveryGroupArn(std::move(value)); return *this;}
61 inline GetRecoveryGroupResult& WithRecoveryGroupArn(const char* value) { SetRecoveryGroupArn(value); return *this;}
63
65
68 inline const Aws::String& GetRecoveryGroupName() const{ return m_recoveryGroupName; }
69 inline void SetRecoveryGroupName(const Aws::String& value) { m_recoveryGroupName = value; }
70 inline void SetRecoveryGroupName(Aws::String&& value) { m_recoveryGroupName = std::move(value); }
71 inline void SetRecoveryGroupName(const char* value) { m_recoveryGroupName.assign(value); }
73 inline GetRecoveryGroupResult& WithRecoveryGroupName(Aws::String&& value) { SetRecoveryGroupName(std::move(value)); return *this;}
74 inline GetRecoveryGroupResult& WithRecoveryGroupName(const char* value) { SetRecoveryGroupName(value); return *this;}
76
78
81 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
82 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
83 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
84 inline GetRecoveryGroupResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
85 inline GetRecoveryGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
86 inline GetRecoveryGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
87 inline GetRecoveryGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
88 inline GetRecoveryGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
89 inline GetRecoveryGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
90 inline GetRecoveryGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
91 inline GetRecoveryGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
92 inline GetRecoveryGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
94
96
97 inline const Aws::String& GetRequestId() const{ return m_requestId; }
98 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
99 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
100 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
101 inline GetRecoveryGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline GetRecoveryGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline GetRecoveryGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 private:
106
108
109 Aws::String m_recoveryGroupArn;
110
111 Aws::String m_recoveryGroupName;
112
114
115 Aws::String m_requestId;
116 };
117
118} // namespace Model
119} // namespace Route53RecoveryReadiness
120} // namespace Aws
GetRecoveryGroupResult & WithRecoveryGroupArn(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API GetRecoveryGroupResult()
GetRecoveryGroupResult & WithRequestId(Aws::String &&value)
GetRecoveryGroupResult & AddTags(const char *key, Aws::String &&value)
GetRecoveryGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetRecoveryGroupResult & AddTags(const char *key, const char *value)
GetRecoveryGroupResult & AddCells(const Aws::String &value)
GetRecoveryGroupResult & WithRecoveryGroupArn(Aws::String &&value)
GetRecoveryGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
GetRecoveryGroupResult & WithCells(Aws::Vector< Aws::String > &&value)
void SetCells(const Aws::Vector< Aws::String > &value)
GetRecoveryGroupResult & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetRecoveryGroupResult & WithRecoveryGroupArn(const Aws::String &value)
GetRecoveryGroupResult & WithRecoveryGroupName(Aws::String &&value)
GetRecoveryGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
AWS_ROUTE53RECOVERYREADINESS_API GetRecoveryGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53RECOVERYREADINESS_API GetRecoveryGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRecoveryGroupResult & AddCells(Aws::String &&value)
GetRecoveryGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetRecoveryGroupResult & WithCells(const Aws::Vector< Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetRecoveryGroupResult & WithRecoveryGroupName(const Aws::String &value)
GetRecoveryGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRecoveryGroupResult & WithRequestId(const Aws::String &value)
GetRecoveryGroupResult & WithRecoveryGroupName(const char *value)
GetRecoveryGroupResult & AddTags(const Aws::String &key, 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue