AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
42 template<typename CellsT = Aws::Vector<Aws::String>>
43 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
44 template<typename CellsT = Aws::Vector<Aws::String>>
45 UpdateRecoveryGroupResult& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
46 template<typename CellsT = Aws::String>
47 UpdateRecoveryGroupResult& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
49
51
54 inline const Aws::String& GetRecoveryGroupArn() const { return m_recoveryGroupArn; }
55 template<typename RecoveryGroupArnT = Aws::String>
56 void SetRecoveryGroupArn(RecoveryGroupArnT&& value) { m_recoveryGroupArnHasBeenSet = true; m_recoveryGroupArn = std::forward<RecoveryGroupArnT>(value); }
57 template<typename RecoveryGroupArnT = Aws::String>
58 UpdateRecoveryGroupResult& WithRecoveryGroupArn(RecoveryGroupArnT&& value) { SetRecoveryGroupArn(std::forward<RecoveryGroupArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetRecoveryGroupName() const { return m_recoveryGroupName; }
66 template<typename RecoveryGroupNameT = Aws::String>
67 void SetRecoveryGroupName(RecoveryGroupNameT&& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = std::forward<RecoveryGroupNameT>(value); }
68 template<typename RecoveryGroupNameT = Aws::String>
69 UpdateRecoveryGroupResult& WithRecoveryGroupName(RecoveryGroupNameT&& value) { SetRecoveryGroupName(std::forward<RecoveryGroupNameT>(value)); return *this;}
71
73
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
77 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
79 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 UpdateRecoveryGroupResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
81 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
82 UpdateRecoveryGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
83 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template<typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
92 template<typename RequestIdT = Aws::String>
93 UpdateRecoveryGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
95 private:
96
98 bool m_cellsHasBeenSet = false;
99
100 Aws::String m_recoveryGroupArn;
101 bool m_recoveryGroupArnHasBeenSet = false;
102
103 Aws::String m_recoveryGroupName;
104 bool m_recoveryGroupNameHasBeenSet = false;
105
107 bool m_tagsHasBeenSet = false;
108
109 Aws::String m_requestId;
110 bool m_requestIdHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Route53RecoveryReadiness
115} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupResult()=default
UpdateRecoveryGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateRecoveryGroupResult & WithRecoveryGroupName(RecoveryGroupNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryGroupResult & WithRequestId(RequestIdT &&value)
UpdateRecoveryGroupResult & WithRecoveryGroupArn(RecoveryGroupArnT &&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