AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCellResult.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 CreateCellResult();
33 AWS_ROUTE53RECOVERYREADINESS_API CreateCellResult(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 CreateCellResult& WithCellArn(const Aws::String& value) { SetCellArn(value); return *this;}
46 inline CreateCellResult& WithCellArn(Aws::String&& value) { SetCellArn(std::move(value)); return *this;}
47 inline CreateCellResult& 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 CreateCellResult& WithCellName(const Aws::String& value) { SetCellName(value); return *this;}
59 inline CreateCellResult& WithCellName(Aws::String&& value) { SetCellName(std::move(value)); return *this;}
60 inline CreateCellResult& 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 CreateCellResult& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
71 inline CreateCellResult& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
72 inline CreateCellResult& AddCells(const Aws::String& value) { m_cells.push_back(value); return *this; }
73 inline CreateCellResult& AddCells(Aws::String&& value) { m_cells.push_back(std::move(value)); return *this; }
74 inline CreateCellResult& 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 CreateCellResult& AddParentReadinessScopes(const Aws::String& value) { m_parentReadinessScopes.push_back(value); return *this; }
89 inline CreateCellResult& AddParentReadinessScopes(Aws::String&& value) { m_parentReadinessScopes.push_back(std::move(value)); return *this; }
90 inline CreateCellResult& 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 CreateCellResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
101 inline CreateCellResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
102 inline CreateCellResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
103 inline CreateCellResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
104 inline CreateCellResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
105 inline CreateCellResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
106 inline CreateCellResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
107 inline CreateCellResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
108 inline CreateCellResult& 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 CreateCellResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline CreateCellResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline CreateCellResult& 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
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCellResult & AddParentReadinessScopes(Aws::String &&value)
CreateCellResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetParentReadinessScopes() const
CreateCellResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateCellResult & WithCells(const Aws::Vector< Aws::String > &value)
CreateCellResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateCellResult & AddParentReadinessScopes(const Aws::String &value)
CreateCellResult & WithParentReadinessScopes(const Aws::Vector< Aws::String > &value)
CreateCellResult & AddTags(Aws::String &&key, const Aws::String &value)
AWS_ROUTE53RECOVERYREADINESS_API CreateCellResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCellResult & WithCellArn(const Aws::String &value)
CreateCellResult & AddCells(Aws::String &&value)
CreateCellResult & WithCellArn(const char *value)
CreateCellResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetParentReadinessScopes(Aws::Vector< Aws::String > &&value)
CreateCellResult & WithCellArn(Aws::String &&value)
CreateCellResult & AddTags(Aws::String &&key, const char *value)
CreateCellResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCellResult & WithParentReadinessScopes(Aws::Vector< Aws::String > &&value)
CreateCellResult & WithCellName(const char *value)
CreateCellResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetParentReadinessScopes(const Aws::Vector< Aws::String > &value)
CreateCellResult & WithRequestId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCellResult & WithCells(Aws::Vector< Aws::String > &&value)
void SetCells(const Aws::Vector< Aws::String > &value)
CreateCellResult & AddTags(const char *key, const char *value)
void SetCells(Aws::Vector< Aws::String > &&value)
CreateCellResult & WithCellName(const Aws::String &value)
CreateCellResult & AddCells(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCellResult & AddTags(const char *key, Aws::String &&value)
AWS_ROUTE53RECOVERYREADINESS_API CreateCellResult()
CreateCellResult & AddCells(const Aws::String &value)
CreateCellResult & WithRequestId(const Aws::String &value)
AWS_ROUTE53RECOVERYREADINESS_API CreateCellResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCellResult & AddParentReadinessScopes(const char *value)
const Aws::Vector< Aws::String > & GetCells() const
CreateCellResult & WithCellName(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