AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCellArn(const Aws::String& value) { m_cellArn = value; }
43 inline void SetCellArn(Aws::String&& value) { m_cellArn = std::move(value); }
44 inline void SetCellArn(const char* value) { m_cellArn.assign(value); }
45 inline GetCellResult& WithCellArn(const Aws::String& value) { SetCellArn(value); return *this;}
46 inline GetCellResult& WithCellArn(Aws::String&& value) { SetCellArn(std::move(value)); return *this;}
47 inline GetCellResult& WithCellArn(const char* value) { SetCellArn(value); return *this;}
49
51
54 inline const Aws::String& GetCellName() const{ return m_cellName; }
55 inline void SetCellName(const Aws::String& value) { m_cellName = value; }
56 inline void SetCellName(Aws::String&& value) { m_cellName = std::move(value); }
57 inline void SetCellName(const char* value) { m_cellName.assign(value); }
58 inline GetCellResult& WithCellName(const Aws::String& value) { SetCellName(value); return *this;}
59 inline GetCellResult& WithCellName(Aws::String&& value) { SetCellName(std::move(value)); return *this;}
60 inline GetCellResult& WithCellName(const char* value) { SetCellName(value); return *this;}
62
64
67 inline const Aws::Vector<Aws::String>& GetCells() const{ return m_cells; }
68 inline void SetCells(const Aws::Vector<Aws::String>& value) { m_cells = value; }
69 inline void SetCells(Aws::Vector<Aws::String>&& value) { m_cells = std::move(value); }
70 inline GetCellResult& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
71 inline GetCellResult& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
72 inline GetCellResult& AddCells(const Aws::String& value) { m_cells.push_back(value); return *this; }
73 inline GetCellResult& AddCells(Aws::String&& value) { m_cells.push_back(std::move(value)); return *this; }
74 inline GetCellResult& AddCells(const char* value) { m_cells.push_back(value); return *this; }
76
78
83 inline const Aws::Vector<Aws::String>& GetParentReadinessScopes() const{ return m_parentReadinessScopes; }
84 inline void SetParentReadinessScopes(const Aws::Vector<Aws::String>& value) { m_parentReadinessScopes = value; }
85 inline void SetParentReadinessScopes(Aws::Vector<Aws::String>&& value) { m_parentReadinessScopes = std::move(value); }
88 inline GetCellResult& AddParentReadinessScopes(const Aws::String& value) { m_parentReadinessScopes.push_back(value); return *this; }
89 inline GetCellResult& AddParentReadinessScopes(Aws::String&& value) { m_parentReadinessScopes.push_back(std::move(value)); return *this; }
90 inline GetCellResult& AddParentReadinessScopes(const char* value) { m_parentReadinessScopes.push_back(value); return *this; }
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
98 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
99 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
100 inline GetCellResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
101 inline GetCellResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
102 inline GetCellResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
103 inline GetCellResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
104 inline GetCellResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
105 inline GetCellResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
106 inline GetCellResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
107 inline GetCellResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
108 inline GetCellResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline GetCellResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline GetCellResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline GetCellResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_cellArn;
124
125 Aws::String m_cellName;
126
128
129 Aws::Vector<Aws::String> m_parentReadinessScopes;
130
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace Route53RecoveryReadiness
138} // namespace Aws
void SetParentReadinessScopes(const Aws::Vector< Aws::String > &value)
GetCellResult & AddCells(Aws::String &&value)
GetCellResult & WithCellName(Aws::String &&value)
GetCellResult & AddTags(const char *key, const char *value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellResult()
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetCellResult & AddParentReadinessScopes(const Aws::String &value)
GetCellResult & WithCells(const Aws::Vector< Aws::String > &value)
GetCellResult & WithCells(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCells() const
const Aws::Vector< Aws::String > & GetParentReadinessScopes() const
GetCellResult & AddParentReadinessScopes(const char *value)
GetCellResult & AddTags(Aws::String &&key, const Aws::String &value)
GetCellResult & WithParentReadinessScopes(Aws::Vector< Aws::String > &&value)
void SetCells(const Aws::Vector< Aws::String > &value)
GetCellResult & AddTags(const Aws::String &key, const Aws::String &value)
GetCellResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetCellResult & AddTags(Aws::String &&key, const char *value)
GetCellResult & AddCells(const Aws::String &value)
GetCellResult & WithCellName(const char *value)
GetCellResult & WithRequestId(const Aws::String &value)
GetCellResult & WithRequestId(Aws::String &&value)
GetCellResult & WithCellArn(const Aws::String &value)
void SetParentReadinessScopes(Aws::Vector< Aws::String > &&value)
GetCellResult & WithCellArn(Aws::String &&value)
GetCellResult & WithRequestId(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCellResult & WithParentReadinessScopes(const Aws::Vector< Aws::String > &value)
GetCellResult & AddTags(Aws::String &&key, Aws::String &&value)
GetCellResult & AddTags(const char *key, Aws::String &&value)
GetCellResult & WithCellName(const Aws::String &value)
GetCellResult & AddCells(const char *value)
GetCellResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetCellResult & WithCellArn(const char *value)
void SetCells(Aws::Vector< Aws::String > &&value)
GetCellResult & AddParentReadinessScopes(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ROUTE53RECOVERYREADINESS_API GetCellResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetCellResult & AddTags(const Aws::String &key, Aws::String &&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