AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CellOutput.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/AWSVector.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
34 {
35 public:
36 AWS_ROUTE53RECOVERYREADINESS_API CellOutput() = default;
37 AWS_ROUTE53RECOVERYREADINESS_API CellOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RECOVERYREADINESS_API CellOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCellArn() const { return m_cellArn; }
47 inline bool CellArnHasBeenSet() const { return m_cellArnHasBeenSet; }
48 template<typename CellArnT = Aws::String>
49 void SetCellArn(CellArnT&& value) { m_cellArnHasBeenSet = true; m_cellArn = std::forward<CellArnT>(value); }
50 template<typename CellArnT = Aws::String>
51 CellOutput& WithCellArn(CellArnT&& value) { SetCellArn(std::forward<CellArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCellName() const { return m_cellName; }
59 inline bool CellNameHasBeenSet() const { return m_cellNameHasBeenSet; }
60 template<typename CellNameT = Aws::String>
61 void SetCellName(CellNameT&& value) { m_cellNameHasBeenSet = true; m_cellName = std::forward<CellNameT>(value); }
62 template<typename CellNameT = Aws::String>
63 CellOutput& WithCellName(CellNameT&& value) { SetCellName(std::forward<CellNameT>(value)); return *this;}
65
67
70 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
71 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
72 template<typename CellsT = Aws::Vector<Aws::String>>
73 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
74 template<typename CellsT = Aws::Vector<Aws::String>>
75 CellOutput& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
76 template<typename CellsT = Aws::String>
77 CellOutput& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
79
81
86 inline const Aws::Vector<Aws::String>& GetParentReadinessScopes() const { return m_parentReadinessScopes; }
87 inline bool ParentReadinessScopesHasBeenSet() const { return m_parentReadinessScopesHasBeenSet; }
88 template<typename ParentReadinessScopesT = Aws::Vector<Aws::String>>
89 void SetParentReadinessScopes(ParentReadinessScopesT&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes = std::forward<ParentReadinessScopesT>(value); }
90 template<typename ParentReadinessScopesT = Aws::Vector<Aws::String>>
91 CellOutput& WithParentReadinessScopes(ParentReadinessScopesT&& value) { SetParentReadinessScopes(std::forward<ParentReadinessScopesT>(value)); return *this;}
92 template<typename ParentReadinessScopesT = Aws::String>
93 CellOutput& AddParentReadinessScopes(ParentReadinessScopesT&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.emplace_back(std::forward<ParentReadinessScopesT>(value)); return *this; }
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
104 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 CellOutput& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
106 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
107 CellOutput& AddTags(TagsKeyT&& key, TagsValueT&& value) {
108 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
109 }
111 private:
112
113 Aws::String m_cellArn;
114 bool m_cellArnHasBeenSet = false;
115
116 Aws::String m_cellName;
117 bool m_cellNameHasBeenSet = false;
118
120 bool m_cellsHasBeenSet = false;
121
122 Aws::Vector<Aws::String> m_parentReadinessScopes;
123 bool m_parentReadinessScopesHasBeenSet = false;
124
126 bool m_tagsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Route53RecoveryReadiness
131} // namespace Aws
CellOutput & WithParentReadinessScopes(ParentReadinessScopesT &&value)
Definition CellOutput.h:91
AWS_ROUTE53RECOVERYREADINESS_API CellOutput()=default
AWS_ROUTE53RECOVERYREADINESS_API CellOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYREADINESS_API CellOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCells() const
Definition CellOutput.h:70
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
CellOutput & WithCellArn(CellArnT &&value)
Definition CellOutput.h:51
CellOutput & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition CellOutput.h:107
CellOutput & WithCellName(CellNameT &&value)
Definition CellOutput.h:63
void SetParentReadinessScopes(ParentReadinessScopesT &&value)
Definition CellOutput.h:89
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition CellOutput.h:100
CellOutput & AddParentReadinessScopes(ParentReadinessScopesT &&value)
Definition CellOutput.h:93
const Aws::Vector< Aws::String > & GetParentReadinessScopes() const
Definition CellOutput.h:86
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