AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCellArn(const Aws::String& value) { m_cellArnHasBeenSet = true; m_cellArn = value; }
49 inline void SetCellArn(Aws::String&& value) { m_cellArnHasBeenSet = true; m_cellArn = std::move(value); }
50 inline void SetCellArn(const char* value) { m_cellArnHasBeenSet = true; m_cellArn.assign(value); }
51 inline CellOutput& WithCellArn(const Aws::String& value) { SetCellArn(value); return *this;}
52 inline CellOutput& WithCellArn(Aws::String&& value) { SetCellArn(std::move(value)); return *this;}
53 inline CellOutput& WithCellArn(const char* value) { SetCellArn(value); return *this;}
55
57
60 inline const Aws::String& GetCellName() const{ return m_cellName; }
61 inline bool CellNameHasBeenSet() const { return m_cellNameHasBeenSet; }
62 inline void SetCellName(const Aws::String& value) { m_cellNameHasBeenSet = true; m_cellName = value; }
63 inline void SetCellName(Aws::String&& value) { m_cellNameHasBeenSet = true; m_cellName = std::move(value); }
64 inline void SetCellName(const char* value) { m_cellNameHasBeenSet = true; m_cellName.assign(value); }
65 inline CellOutput& WithCellName(const Aws::String& value) { SetCellName(value); return *this;}
66 inline CellOutput& WithCellName(Aws::String&& value) { SetCellName(std::move(value)); return *this;}
67 inline CellOutput& WithCellName(const char* value) { SetCellName(value); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetCells() const{ return m_cells; }
75 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
76 inline void SetCells(const Aws::Vector<Aws::String>& value) { m_cellsHasBeenSet = true; m_cells = value; }
77 inline void SetCells(Aws::Vector<Aws::String>&& value) { m_cellsHasBeenSet = true; m_cells = std::move(value); }
78 inline CellOutput& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
79 inline CellOutput& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
80 inline CellOutput& AddCells(const Aws::String& value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; }
81 inline CellOutput& AddCells(Aws::String&& value) { m_cellsHasBeenSet = true; m_cells.push_back(std::move(value)); return *this; }
82 inline CellOutput& AddCells(const char* value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; }
84
86
91 inline const Aws::Vector<Aws::String>& GetParentReadinessScopes() const{ return m_parentReadinessScopes; }
92 inline bool ParentReadinessScopesHasBeenSet() const { return m_parentReadinessScopesHasBeenSet; }
93 inline void SetParentReadinessScopes(const Aws::Vector<Aws::String>& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes = value; }
94 inline void SetParentReadinessScopes(Aws::Vector<Aws::String>&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes = std::move(value); }
97 inline CellOutput& AddParentReadinessScopes(const Aws::String& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.push_back(value); return *this; }
98 inline CellOutput& AddParentReadinessScopes(Aws::String&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.push_back(std::move(value)); return *this; }
99 inline CellOutput& AddParentReadinessScopes(const char* value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.push_back(value); return *this; }
101
103
106 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
107 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
108 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
109 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
110 inline CellOutput& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
111 inline CellOutput& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
112 inline CellOutput& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
113 inline CellOutput& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline CellOutput& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline CellOutput& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
116 inline CellOutput& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline CellOutput& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
118 inline CellOutput& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
120 private:
121
122 Aws::String m_cellArn;
123 bool m_cellArnHasBeenSet = false;
124
125 Aws::String m_cellName;
126 bool m_cellNameHasBeenSet = false;
127
129 bool m_cellsHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_parentReadinessScopes;
132 bool m_parentReadinessScopesHasBeenSet = false;
133
135 bool m_tagsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Route53RecoveryReadiness
140} // namespace Aws
CellOutput & WithParentReadinessScopes(const Aws::Vector< Aws::String > &value)
Definition CellOutput.h:95
void SetParentReadinessScopes(const Aws::Vector< Aws::String > &value)
Definition CellOutput.h:93
void SetCellArn(const Aws::String &value)
Definition CellOutput.h:48
AWS_ROUTE53RECOVERYREADINESS_API CellOutput(Aws::Utils::Json::JsonView jsonValue)
CellOutput & WithParentReadinessScopes(Aws::Vector< Aws::String > &&value)
Definition CellOutput.h:96
CellOutput & AddTags(Aws::String &&key, const char *value)
Definition CellOutput.h:117
CellOutput & AddParentReadinessScopes(const Aws::String &value)
Definition CellOutput.h:97
AWS_ROUTE53RECOVERYREADINESS_API CellOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CellOutput & AddTags(const char *key, Aws::String &&value)
Definition CellOutput.h:116
CellOutput & AddCells(const Aws::String &value)
Definition CellOutput.h:80
const Aws::Vector< Aws::String > & GetCells() const
Definition CellOutput.h:74
CellOutput & WithCellArn(const Aws::String &value)
Definition CellOutput.h:51
CellOutput & AddParentReadinessScopes(const char *value)
Definition CellOutput.h:99
CellOutput & WithCells(Aws::Vector< Aws::String > &&value)
Definition CellOutput.h:79
CellOutput & WithCellName(const char *value)
Definition CellOutput.h:67
void SetParentReadinessScopes(Aws::Vector< Aws::String > &&value)
Definition CellOutput.h:94
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCellName(const Aws::String &value)
Definition CellOutput.h:62
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition CellOutput.h:108
void SetCells(Aws::Vector< Aws::String > &&value)
Definition CellOutput.h:77
CellOutput & AddCells(const char *value)
Definition CellOutput.h:82
CellOutput & AddTags(Aws::String &&key, Aws::String &&value)
Definition CellOutput.h:115
CellOutput & AddParentReadinessScopes(Aws::String &&value)
Definition CellOutput.h:98
CellOutput & AddTags(const char *key, const char *value)
Definition CellOutput.h:118
CellOutput & AddTags(Aws::String &&key, const Aws::String &value)
Definition CellOutput.h:113
CellOutput & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition CellOutput.h:110
CellOutput & WithCells(const Aws::Vector< Aws::String > &value)
Definition CellOutput.h:78
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition CellOutput.h:106
CellOutput & WithCellName(Aws::String &&value)
Definition CellOutput.h:66
CellOutput & WithCellArn(Aws::String &&value)
Definition CellOutput.h:52
AWS_ROUTE53RECOVERYREADINESS_API CellOutput()
CellOutput & AddTags(const Aws::String &key, const Aws::String &value)
Definition CellOutput.h:112
CellOutput & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition CellOutput.h:111
CellOutput & WithCellArn(const char *value)
Definition CellOutput.h:53
void SetCells(const Aws::Vector< Aws::String > &value)
Definition CellOutput.h:76
CellOutput & AddCells(Aws::String &&value)
Definition CellOutput.h:81
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition CellOutput.h:109
CellOutput & WithCellName(const Aws::String &value)
Definition CellOutput.h:65
const Aws::Vector< Aws::String > & GetParentReadinessScopes() const
Definition CellOutput.h:91
CellOutput & AddTags(const Aws::String &key, Aws::String &&value)
Definition CellOutput.h:114
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