AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetCellResult.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{
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 GetCellResult() = default;
33 AWS_ROUTE53RECOVERYREADINESS_API GetCellResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35
36
38
41 inline const Aws::String& GetCellArn() const { return m_cellArn; }
42 template<typename CellArnT = Aws::String>
43 void SetCellArn(CellArnT&& value) { m_cellArnHasBeenSet = true; m_cellArn = std::forward<CellArnT>(value); }
44 template<typename CellArnT = Aws::String>
45 GetCellResult& WithCellArn(CellArnT&& value) { SetCellArn(std::forward<CellArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetCellName() const { return m_cellName; }
53 template<typename CellNameT = Aws::String>
54 void SetCellName(CellNameT&& value) { m_cellNameHasBeenSet = true; m_cellName = std::forward<CellNameT>(value); }
55 template<typename CellNameT = Aws::String>
56 GetCellResult& WithCellName(CellNameT&& value) { SetCellName(std::forward<CellNameT>(value)); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
64 template<typename CellsT = Aws::Vector<Aws::String>>
65 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
66 template<typename CellsT = Aws::Vector<Aws::String>>
67 GetCellResult& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
68 template<typename CellsT = Aws::String>
69 GetCellResult& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
71
73
78 inline const Aws::Vector<Aws::String>& GetParentReadinessScopes() const { return m_parentReadinessScopes; }
79 template<typename ParentReadinessScopesT = Aws::Vector<Aws::String>>
80 void SetParentReadinessScopes(ParentReadinessScopesT&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes = std::forward<ParentReadinessScopesT>(value); }
81 template<typename ParentReadinessScopesT = Aws::Vector<Aws::String>>
82 GetCellResult& WithParentReadinessScopes(ParentReadinessScopesT&& value) { SetParentReadinessScopes(std::forward<ParentReadinessScopesT>(value)); return *this;}
83 template<typename ParentReadinessScopesT = Aws::String>
84 GetCellResult& AddParentReadinessScopes(ParentReadinessScopesT&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.emplace_back(std::forward<ParentReadinessScopesT>(value)); return *this; }
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
92 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
94 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 GetCellResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
96 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
97 GetCellResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
98 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 GetCellResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::String m_cellArn;
113 bool m_cellArnHasBeenSet = false;
114
115 Aws::String m_cellName;
116 bool m_cellNameHasBeenSet = false;
117
119 bool m_cellsHasBeenSet = false;
120
121 Aws::Vector<Aws::String> m_parentReadinessScopes;
122 bool m_parentReadinessScopesHasBeenSet = false;
123
125 bool m_tagsHasBeenSet = false;
126
127 Aws::String m_requestId;
128 bool m_requestIdHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Route53RecoveryReadiness
133} // namespace Aws
GetCellResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< Aws::String > & GetCells() const
const Aws::Vector< Aws::String > & GetParentReadinessScopes() const
GetCellResult & WithRequestId(RequestIdT &&value)
GetCellResult & WithCellName(CellNameT &&value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellResult()=default
GetCellResult & WithParentReadinessScopes(ParentReadinessScopesT &&value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCellResult & WithCellArn(CellArnT &&value)
void SetParentReadinessScopes(ParentReadinessScopesT &&value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetCellResult & AddParentReadinessScopes(ParentReadinessScopesT &&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