7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
12#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
13#include <aws/resiliencehubv2/model/AssociatedSystem.h>
14#include <aws/resiliencehubv2/model/DependencyDiscoveryInput.h>
15#include <aws/resiliencehubv2/model/PermissionModel.h>
16#include <aws/resiliencehubv2/model/ServiceReportConfiguration.h>
21namespace resiliencehubv2 {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
76 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
78 m_associatedSystemsHasBeenSet =
true;
79 m_associatedSystems = std::forward<AssociatedSystemsT>(value);
81 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
86 template <
typename AssociatedSystemsT = AssociatedSystem>
88 m_associatedSystemsHasBeenSet =
true;
89 m_associatedSystems.emplace_back(std::forward<AssociatedSystemsT>(value));
98 template <
typename PolicyArnT = Aws::String>
100 m_policyArnHasBeenSet =
true;
101 m_policyArn = std::forward<PolicyArnT>(value);
103 template <
typename PolicyArnT = Aws::String>
116 template <
typename RegionsT = Aws::Vector<Aws::String>>
118 m_regionsHasBeenSet =
true;
119 m_regions = std::forward<RegionsT>(value);
121 template <
typename RegionsT = Aws::Vector<Aws::String>>
126 template <
typename RegionsT = Aws::String>
128 m_regionsHasBeenSet =
true;
129 m_regions.emplace_back(std::forward<RegionsT>(value));
140 template <
typename PermissionModelT = PermissionModel>
142 m_permissionModelHasBeenSet =
true;
143 m_permissionModel = std::forward<PermissionModelT>(value);
145 template <
typename PermissionModelT = PermissionModel>
157 m_dependencyDiscoveryHasBeenSet =
true;
158 m_dependencyDiscovery = value;
170 template <
typename ReportConfigurationT = ServiceReportConfiguration>
172 m_reportConfigurationHasBeenSet =
true;
173 m_reportConfiguration = std::forward<ReportConfigurationT>(value);
175 template <
typename ReportConfigurationT = ServiceReportConfiguration>
186 template <
typename KmsKeyIdT = Aws::String>
188 m_kmsKeyIdHasBeenSet =
true;
189 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
191 template <
typename KmsKeyIdT = Aws::String>
202 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 m_tagsHasBeenSet =
true;
205 m_tags = std::forward<TagsT>(value);
207 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
209 SetTags(std::forward<TagsT>(value));
212 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
214 m_tagsHasBeenSet =
true;
215 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
224 template <
typename ClientTokenT = Aws::String>
226 m_clientTokenHasBeenSet =
true;
227 m_clientToken = std::forward<ClientTokenT>(value);
229 template <
typename ClientTokenT = Aws::String>
250 ServiceReportConfiguration m_reportConfiguration;
257 bool m_nameHasBeenSet =
false;
258 bool m_descriptionHasBeenSet =
false;
259 bool m_associatedSystemsHasBeenSet =
false;
260 bool m_policyArnHasBeenSet =
false;
261 bool m_regionsHasBeenSet =
false;
262 bool m_permissionModelHasBeenSet =
false;
263 bool m_dependencyDiscoveryHasBeenSet =
false;
264 bool m_reportConfigurationHasBeenSet =
false;
265 bool m_kmsKeyIdHasBeenSet =
false;
266 bool m_tagsHasBeenSet =
false;
267 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
bool AssociatedSystemsHasBeenSet() const
void SetDependencyDiscovery(DependencyDiscoveryInput value)
CreateServiceRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool NameHasBeenSet() const
const PermissionModel & GetPermissionModel() const
void SetDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
void SetTags(TagsT &&value)
CreateServiceRequest & AddRegions(RegionsT &&value)
CreateServiceRequest & WithPolicyArn(PolicyArnT &&value)
void SetName(NameT &&value)
CreateServiceRequest & WithTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
void SetReportConfiguration(ReportConfigurationT &&value)
bool TagsHasBeenSet() const
AWS_RESILIENCEHUBV2_API CreateServiceRequest()=default
bool PolicyArnHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
CreateServiceRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
bool ReportConfigurationHasBeenSet() const
const Aws::String & GetPolicyArn() const
CreateServiceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateServiceRequest & AddAssociatedSystems(AssociatedSystemsT &&value)
const Aws::Vector< AssociatedSystem > & GetAssociatedSystems() const
CreateServiceRequest & WithDependencyDiscovery(DependencyDiscoveryInput value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetName() const
void SetRegions(RegionsT &&value)
const Aws::String & GetClientToken() const
CreateServiceRequest & WithDescription(DescriptionT &&value)
void SetPolicyArn(PolicyArnT &&value)
CreateServiceRequest & WithAssociatedSystems(AssociatedSystemsT &&value)
CreateServiceRequest & WithPermissionModel(PermissionModelT &&value)
void SetPermissionModel(PermissionModelT &&value)
bool RegionsHasBeenSet() const
bool DependencyDiscoveryHasBeenSet() const
CreateServiceRequest & WithReportConfiguration(ReportConfigurationT &&value)
DependencyDiscoveryInput GetDependencyDiscovery() const
const ServiceReportConfiguration & GetReportConfiguration() const
bool PermissionModelHasBeenSet() const
CreateServiceRequest & WithRegions(RegionsT &&value)
CreateServiceRequest & WithClientToken(ClientTokenT &&value)
void SetAssociatedSystems(AssociatedSystemsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetKmsKeyId() const
bool KmsKeyIdHasBeenSet() const
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
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