AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecoveryGroupOutput.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Route53RecoveryReadiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ROUTE53RECOVERYREADINESS_API RecoveryGroupOutput() = default;
38 AWS_ROUTE53RECOVERYREADINESS_API RecoveryGroupOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RECOVERYREADINESS_API RecoveryGroupOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
48 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
49 template<typename CellsT = Aws::Vector<Aws::String>>
50 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
51 template<typename CellsT = Aws::Vector<Aws::String>>
52 RecoveryGroupOutput& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
53 template<typename CellsT = Aws::String>
54 RecoveryGroupOutput& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
56
58
61 inline const Aws::String& GetRecoveryGroupArn() const { return m_recoveryGroupArn; }
62 inline bool RecoveryGroupArnHasBeenSet() const { return m_recoveryGroupArnHasBeenSet; }
63 template<typename RecoveryGroupArnT = Aws::String>
64 void SetRecoveryGroupArn(RecoveryGroupArnT&& value) { m_recoveryGroupArnHasBeenSet = true; m_recoveryGroupArn = std::forward<RecoveryGroupArnT>(value); }
65 template<typename RecoveryGroupArnT = Aws::String>
66 RecoveryGroupOutput& WithRecoveryGroupArn(RecoveryGroupArnT&& value) { SetRecoveryGroupArn(std::forward<RecoveryGroupArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetRecoveryGroupName() const { return m_recoveryGroupName; }
74 inline bool RecoveryGroupNameHasBeenSet() const { return m_recoveryGroupNameHasBeenSet; }
75 template<typename RecoveryGroupNameT = Aws::String>
76 void SetRecoveryGroupName(RecoveryGroupNameT&& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = std::forward<RecoveryGroupNameT>(value); }
77 template<typename RecoveryGroupNameT = Aws::String>
78 RecoveryGroupOutput& WithRecoveryGroupName(RecoveryGroupNameT&& value) { SetRecoveryGroupName(std::forward<RecoveryGroupNameT>(value)); return *this;}
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
89 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 RecoveryGroupOutput& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
91 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
92 RecoveryGroupOutput& AddTags(TagsKeyT&& key, TagsValueT&& value) {
93 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
94 }
96 private:
97
99 bool m_cellsHasBeenSet = false;
100
101 Aws::String m_recoveryGroupArn;
102 bool m_recoveryGroupArnHasBeenSet = false;
103
104 Aws::String m_recoveryGroupName;
105 bool m_recoveryGroupNameHasBeenSet = false;
106
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Route53RecoveryReadiness
113} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API RecoveryGroupOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryGroupOutput & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_ROUTE53RECOVERYREADINESS_API RecoveryGroupOutput()=default
AWS_ROUTE53RECOVERYREADINESS_API RecoveryGroupOutput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCells() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RecoveryGroupOutput & WithRecoveryGroupName(RecoveryGroupNameT &&value)
RecoveryGroupOutput & WithRecoveryGroupArn(RecoveryGroupArnT &&value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue