AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecoveryGroupResult.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 UpdateRecoveryGroupResult();
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 UpdateRecoveryGroupResult& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
45 inline UpdateRecoveryGroupResult& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
46 inline UpdateRecoveryGroupResult& AddCells(const Aws::String& value) { m_cells.push_back(value); return *this; }
47 inline UpdateRecoveryGroupResult& AddCells(Aws::String&& value) { m_cells.push_back(std::move(value)); return *this; }
48 inline UpdateRecoveryGroupResult& 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); }
60 inline UpdateRecoveryGroupResult& WithRecoveryGroupArn(Aws::String&& value) { SetRecoveryGroupArn(std::move(value)); return *this;}
61 inline UpdateRecoveryGroupResult& 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 UpdateRecoveryGroupResult& WithRecoveryGroupName(Aws::String&& value) { SetRecoveryGroupName(std::move(value)); return *this;}
74 inline UpdateRecoveryGroupResult& 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); }
85 inline UpdateRecoveryGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
86 inline UpdateRecoveryGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
87 inline UpdateRecoveryGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
88 inline UpdateRecoveryGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
89 inline UpdateRecoveryGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
90 inline UpdateRecoveryGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
91 inline UpdateRecoveryGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
92 inline UpdateRecoveryGroupResult& 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 UpdateRecoveryGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline UpdateRecoveryGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline UpdateRecoveryGroupResult& 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
UpdateRecoveryGroupResult & WithRecoveryGroupName(Aws::String &&value)
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryGroupResult & WithRecoveryGroupArn(const Aws::String &value)
UpdateRecoveryGroupResult & WithRecoveryGroupArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateRecoveryGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateRecoveryGroupResult & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateRecoveryGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateRecoveryGroupResult & AddTags(const char *key, const char *value)
UpdateRecoveryGroupResult & WithCells(const Aws::Vector< Aws::String > &value)
UpdateRecoveryGroupResult & WithRecoveryGroupName(const Aws::String &value)
UpdateRecoveryGroupResult & AddCells(const Aws::String &value)
UpdateRecoveryGroupResult & WithRecoveryGroupName(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryGroupResult & WithCells(Aws::Vector< Aws::String > &&value)
UpdateRecoveryGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateRecoveryGroupResult & WithRequestId(const Aws::String &value)
UpdateRecoveryGroupResult & WithRequestId(Aws::String &&value)
UpdateRecoveryGroupResult & AddTags(Aws::String &&key, const char *value)
UpdateRecoveryGroupResult & WithRecoveryGroupArn(Aws::String &&value)
UpdateRecoveryGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateRecoveryGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateRecoveryGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupResult()
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