7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53-recovery-readiness/Route53RecoveryReadinessRequest.h>
11#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
12#include <aws/route53-recovery-readiness/model/Resource.h>
17namespace Route53RecoveryReadiness {
40 template <
typename ResourceSetNameT = Aws::String>
42 m_resourceSetNameHasBeenSet =
true;
43 m_resourceSetName = std::forward<ResourceSetNameT>(value);
45 template <
typename ResourceSetNameT = Aws::String>
67 template <
typename ResourceSetTypeT = Aws::String>
69 m_resourceSetTypeHasBeenSet =
true;
70 m_resourceSetType = std::forward<ResourceSetTypeT>(value);
72 template <
typename ResourceSetTypeT = Aws::String>
85 template <
typename ResourcesT = Aws::Vector<Resource>>
87 m_resourcesHasBeenSet =
true;
88 m_resources = std::forward<ResourcesT>(value);
90 template <
typename ResourcesT = Aws::Vector<Resource>>
95 template <
typename ResourcesT = Resource>
97 m_resourcesHasBeenSet =
true;
98 m_resources.emplace_back(std::forward<ResourcesT>(value));
109 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 m_tagsHasBeenSet =
true;
112 m_tags = std::forward<TagsT>(value);
114 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
116 SetTags(std::forward<TagsT>(value));
119 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
121 m_tagsHasBeenSet =
true;
122 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
134 bool m_resourceSetNameHasBeenSet =
false;
135 bool m_resourceSetTypeHasBeenSet =
false;
136 bool m_resourcesHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
CreateResourceSetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ResourceSetNameHasBeenSet() const
CreateResourceSetRequest & WithResourceSetName(ResourceSetNameT &&value)
bool TagsHasBeenSet() const
void SetResourceSetName(ResourceSetNameT &&value)
bool ResourceSetTypeHasBeenSet() const
const Aws::String & GetResourceSetName() const
CreateResourceSetRequest & AddResources(ResourcesT &&value)
CreateResourceSetRequest & WithResources(ResourcesT &&value)
bool ResourcesHasBeenSet() const
AWS_ROUTE53RECOVERYREADINESS_API CreateResourceSetRequest()=default
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
void SetResourceSetType(ResourceSetTypeT &&value)
void SetTags(TagsT &&value)
void SetResources(ResourcesT &&value)
CreateResourceSetRequest & WithTags(TagsT &&value)
const Aws::Vector< Resource > & GetResources() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetResourceSetType() const
virtual const char * GetServiceRequestName() const override
CreateResourceSetRequest & WithResourceSetType(ResourceSetTypeT &&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