AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceSetResult.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 <aws/route53-recovery-readiness/model/Resource.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Route53RecoveryReadiness
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ROUTE53RECOVERYREADINESS_API GetResourceSetResult();
36
37
39
42 inline const Aws::String& GetResourceSetArn() const{ return m_resourceSetArn; }
43 inline void SetResourceSetArn(const Aws::String& value) { m_resourceSetArn = value; }
44 inline void SetResourceSetArn(Aws::String&& value) { m_resourceSetArn = std::move(value); }
45 inline void SetResourceSetArn(const char* value) { m_resourceSetArn.assign(value); }
46 inline GetResourceSetResult& WithResourceSetArn(const Aws::String& value) { SetResourceSetArn(value); return *this;}
47 inline GetResourceSetResult& WithResourceSetArn(Aws::String&& value) { SetResourceSetArn(std::move(value)); return *this;}
48 inline GetResourceSetResult& WithResourceSetArn(const char* value) { SetResourceSetArn(value); return *this;}
50
52
55 inline const Aws::String& GetResourceSetName() const{ return m_resourceSetName; }
56 inline void SetResourceSetName(const Aws::String& value) { m_resourceSetName = value; }
57 inline void SetResourceSetName(Aws::String&& value) { m_resourceSetName = std::move(value); }
58 inline void SetResourceSetName(const char* value) { m_resourceSetName.assign(value); }
59 inline GetResourceSetResult& WithResourceSetName(const Aws::String& value) { SetResourceSetName(value); return *this;}
60 inline GetResourceSetResult& WithResourceSetName(Aws::String&& value) { SetResourceSetName(std::move(value)); return *this;}
61 inline GetResourceSetResult& WithResourceSetName(const char* value) { SetResourceSetName(value); return *this;}
63
65
77 inline const Aws::String& GetResourceSetType() const{ return m_resourceSetType; }
78 inline void SetResourceSetType(const Aws::String& value) { m_resourceSetType = value; }
79 inline void SetResourceSetType(Aws::String&& value) { m_resourceSetType = std::move(value); }
80 inline void SetResourceSetType(const char* value) { m_resourceSetType.assign(value); }
81 inline GetResourceSetResult& WithResourceSetType(const Aws::String& value) { SetResourceSetType(value); return *this;}
82 inline GetResourceSetResult& WithResourceSetType(Aws::String&& value) { SetResourceSetType(std::move(value)); return *this;}
83 inline GetResourceSetResult& WithResourceSetType(const char* value) { SetResourceSetType(value); return *this;}
85
87
90 inline const Aws::Vector<Resource>& GetResources() const{ return m_resources; }
91 inline void SetResources(const Aws::Vector<Resource>& value) { m_resources = value; }
92 inline void SetResources(Aws::Vector<Resource>&& value) { m_resources = std::move(value); }
93 inline GetResourceSetResult& WithResources(const Aws::Vector<Resource>& value) { SetResources(value); return *this;}
94 inline GetResourceSetResult& WithResources(Aws::Vector<Resource>&& value) { SetResources(std::move(value)); return *this;}
95 inline GetResourceSetResult& AddResources(const Resource& value) { m_resources.push_back(value); return *this; }
96 inline GetResourceSetResult& AddResources(Resource&& value) { m_resources.push_back(std::move(value)); return *this; }
98
100
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
102 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
103 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
104 inline GetResourceSetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
105 inline GetResourceSetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
106 inline GetResourceSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
107 inline GetResourceSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
108 inline GetResourceSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
109 inline GetResourceSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
110 inline GetResourceSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
111 inline GetResourceSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
112 inline GetResourceSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline GetResourceSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
122 inline GetResourceSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline GetResourceSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::String m_resourceSetArn;
128
129 Aws::String m_resourceSetName;
130
131 Aws::String m_resourceSetType;
132
133 Aws::Vector<Resource> m_resources;
134
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace Route53RecoveryReadiness
142} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API GetResourceSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSetResult & AddTags(const Aws::String &key, const Aws::String &value)
GetResourceSetResult & WithRequestId(const Aws::String &value)
GetResourceSetResult & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetResourceSetResult & WithResourceSetArn(Aws::String &&value)
GetResourceSetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetResourceSetResult & WithResourceSetType(const char *value)
GetResourceSetResult & WithResourceSetName(const char *value)
GetResourceSetResult & WithResourceSetName(Aws::String &&value)
void SetResources(const Aws::Vector< Resource > &value)
GetResourceSetResult & WithResources(Aws::Vector< Resource > &&value)
GetResourceSetResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetResourceSetResult & WithResourceSetType(const Aws::String &value)
GetResourceSetResult & WithResourceSetArn(const char *value)
GetResourceSetResult & AddTags(const Aws::String &key, Aws::String &&value)
GetResourceSetResult & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetResourceSetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetResourceSetResult & WithResourceSetType(Aws::String &&value)
GetResourceSetResult & AddTags(Aws::String &&key, Aws::String &&value)
GetResourceSetResult & AddTags(const char *key, const char *value)
GetResourceSetResult & WithResourceSetArn(const Aws::String &value)
GetResourceSetResult & AddTags(Aws::String &&key, const Aws::String &value)
GetResourceSetResult & WithResources(const Aws::Vector< Resource > &value)
GetResourceSetResult & WithResourceSetName(const Aws::String &value)
GetResourceSetResult & WithRequestId(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API GetResourceSetResult()
GetResourceSetResult & AddResources(const Resource &value)
AWS_ROUTE53RECOVERYREADINESS_API GetResourceSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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