AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceSetOutput.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Route53RecoveryReadiness
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_ROUTE53RECOVERYREADINESS_API ResourceSetOutput();
38 AWS_ROUTE53RECOVERYREADINESS_API ResourceSetOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RECOVERYREADINESS_API ResourceSetOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetResourceSetArn() const{ return m_resourceSetArn; }
48 inline bool ResourceSetArnHasBeenSet() const { return m_resourceSetArnHasBeenSet; }
49 inline void SetResourceSetArn(const Aws::String& value) { m_resourceSetArnHasBeenSet = true; m_resourceSetArn = value; }
50 inline void SetResourceSetArn(Aws::String&& value) { m_resourceSetArnHasBeenSet = true; m_resourceSetArn = std::move(value); }
51 inline void SetResourceSetArn(const char* value) { m_resourceSetArnHasBeenSet = true; m_resourceSetArn.assign(value); }
52 inline ResourceSetOutput& WithResourceSetArn(const Aws::String& value) { SetResourceSetArn(value); return *this;}
53 inline ResourceSetOutput& WithResourceSetArn(Aws::String&& value) { SetResourceSetArn(std::move(value)); return *this;}
54 inline ResourceSetOutput& WithResourceSetArn(const char* value) { SetResourceSetArn(value); return *this;}
56
58
61 inline const Aws::String& GetResourceSetName() const{ return m_resourceSetName; }
62 inline bool ResourceSetNameHasBeenSet() const { return m_resourceSetNameHasBeenSet; }
63 inline void SetResourceSetName(const Aws::String& value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName = value; }
64 inline void SetResourceSetName(Aws::String&& value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName = std::move(value); }
65 inline void SetResourceSetName(const char* value) { m_resourceSetNameHasBeenSet = true; m_resourceSetName.assign(value); }
66 inline ResourceSetOutput& WithResourceSetName(const Aws::String& value) { SetResourceSetName(value); return *this;}
67 inline ResourceSetOutput& WithResourceSetName(Aws::String&& value) { SetResourceSetName(std::move(value)); return *this;}
68 inline ResourceSetOutput& WithResourceSetName(const char* value) { SetResourceSetName(value); return *this;}
70
72
84 inline const Aws::String& GetResourceSetType() const{ return m_resourceSetType; }
85 inline bool ResourceSetTypeHasBeenSet() const { return m_resourceSetTypeHasBeenSet; }
86 inline void SetResourceSetType(const Aws::String& value) { m_resourceSetTypeHasBeenSet = true; m_resourceSetType = value; }
87 inline void SetResourceSetType(Aws::String&& value) { m_resourceSetTypeHasBeenSet = true; m_resourceSetType = std::move(value); }
88 inline void SetResourceSetType(const char* value) { m_resourceSetTypeHasBeenSet = true; m_resourceSetType.assign(value); }
89 inline ResourceSetOutput& WithResourceSetType(const Aws::String& value) { SetResourceSetType(value); return *this;}
90 inline ResourceSetOutput& WithResourceSetType(Aws::String&& value) { SetResourceSetType(std::move(value)); return *this;}
91 inline ResourceSetOutput& WithResourceSetType(const char* value) { SetResourceSetType(value); return *this;}
93
95
98 inline const Aws::Vector<Resource>& GetResources() const{ return m_resources; }
99 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
100 inline void SetResources(const Aws::Vector<Resource>& value) { m_resourcesHasBeenSet = true; m_resources = value; }
101 inline void SetResources(Aws::Vector<Resource>&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
102 inline ResourceSetOutput& WithResources(const Aws::Vector<Resource>& value) { SetResources(value); return *this;}
103 inline ResourceSetOutput& WithResources(Aws::Vector<Resource>&& value) { SetResources(std::move(value)); return *this;}
104 inline ResourceSetOutput& AddResources(const Resource& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
105 inline ResourceSetOutput& AddResources(Resource&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; }
107
109
110 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
111 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
112 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
113 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
114 inline ResourceSetOutput& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
115 inline ResourceSetOutput& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
116 inline ResourceSetOutput& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
117 inline ResourceSetOutput& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
118 inline ResourceSetOutput& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
119 inline ResourceSetOutput& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
120 inline ResourceSetOutput& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
121 inline ResourceSetOutput& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline ResourceSetOutput& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
124 private:
125
126 Aws::String m_resourceSetArn;
127 bool m_resourceSetArnHasBeenSet = false;
128
129 Aws::String m_resourceSetName;
130 bool m_resourceSetNameHasBeenSet = false;
131
132 Aws::String m_resourceSetType;
133 bool m_resourceSetTypeHasBeenSet = false;
134
135 Aws::Vector<Resource> m_resources;
136 bool m_resourcesHasBeenSet = false;
137
139 bool m_tagsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Route53RecoveryReadiness
144} // namespace Aws
ResourceSetOutput & WithResourceSetArn(const Aws::String &value)
ResourceSetOutput & AddResources(const Resource &value)
const Aws::Vector< Resource > & GetResources() const
ResourceSetOutput & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ResourceSetOutput & WithResourceSetType(const Aws::String &value)
ResourceSetOutput & WithResourceSetName(Aws::String &&value)
ResourceSetOutput & AddTags(const Aws::String &key, Aws::String &&value)
ResourceSetOutput & AddTags(const char *key, const char *value)
ResourceSetOutput & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ResourceSetOutput & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetResources(const Aws::Vector< Resource > &value)
AWS_ROUTE53RECOVERYREADINESS_API ResourceSetOutput(Aws::Utils::Json::JsonView jsonValue)
ResourceSetOutput & AddTags(const Aws::String &key, const Aws::String &value)
ResourceSetOutput & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ResourceSetOutput & WithResourceSetArn(Aws::String &&value)
ResourceSetOutput & WithResourceSetName(const Aws::String &value)
ResourceSetOutput & AddTags(Aws::String &&key, Aws::String &&value)
ResourceSetOutput & WithResourceSetType(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API ResourceSetOutput()
ResourceSetOutput & WithResources(Aws::Vector< Resource > &&value)
AWS_ROUTE53RECOVERYREADINESS_API ResourceSetOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceSetOutput & WithResourceSetType(Aws::String &&value)
ResourceSetOutput & WithResourceSetArn(const char *value)
ResourceSetOutput & WithResources(const Aws::Vector< Resource > &value)
ResourceSetOutput & WithResourceSetName(const char *value)
ResourceSetOutput & AddTags(Aws::String &&key, const char *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