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/DevOpsAgentConfiguration.h>
16#include <aws/resiliencehubv2/model/PermissionModel.h>
17#include <aws/resiliencehubv2/model/ServiceReportConfiguration.h>
22namespace resiliencehubv2 {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
79 m_associatedSystemsHasBeenSet =
true;
80 m_associatedSystems = std::forward<AssociatedSystemsT>(value);
82 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
87 template <
typename AssociatedSystemsT = AssociatedSystem>
89 m_associatedSystemsHasBeenSet =
true;
90 m_associatedSystems.emplace_back(std::forward<AssociatedSystemsT>(value));
99 template <
typename PolicyArnT = Aws::String>
101 m_policyArnHasBeenSet =
true;
102 m_policyArn = std::forward<PolicyArnT>(value);
104 template <
typename PolicyArnT = Aws::String>
117 template <
typename RegionsT = Aws::Vector<Aws::String>>
119 m_regionsHasBeenSet =
true;
120 m_regions = std::forward<RegionsT>(value);
122 template <
typename RegionsT = Aws::Vector<Aws::String>>
127 template <
typename RegionsT = Aws::String>
129 m_regionsHasBeenSet =
true;
130 m_regions.emplace_back(std::forward<RegionsT>(value));
141 template <
typename PermissionModelT = PermissionModel>
143 m_permissionModelHasBeenSet =
true;
144 m_permissionModel = std::forward<PermissionModelT>(value);
146 template <
typename PermissionModelT = PermissionModel>
158 m_dependencyDiscoveryHasBeenSet =
true;
159 m_dependencyDiscovery = value;
171 template <
typename ReportConfigurationT = ServiceReportConfiguration>
173 m_reportConfigurationHasBeenSet =
true;
174 m_reportConfiguration = std::forward<ReportConfigurationT>(value);
176 template <
typename ReportConfigurationT = ServiceReportConfiguration>
187 template <
typename KmsKeyIdT = Aws::String>
189 m_kmsKeyIdHasBeenSet =
true;
190 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
192 template <
typename KmsKeyIdT = Aws::String>
207 template <
typename DevOpsAgentConfigurationT = DevOpsAgentConfiguration>
209 m_devOpsAgentConfigurationHasBeenSet =
true;
210 m_devOpsAgentConfiguration = std::forward<DevOpsAgentConfigurationT>(value);
212 template <
typename DevOpsAgentConfigurationT = DevOpsAgentConfiguration>
223 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
225 m_tagsHasBeenSet =
true;
226 m_tags = std::forward<TagsT>(value);
228 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
230 SetTags(std::forward<TagsT>(value));
233 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
235 m_tagsHasBeenSet =
true;
236 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
245 template <
typename ClientTokenT = Aws::String>
247 m_clientTokenHasBeenSet =
true;
248 m_clientToken = std::forward<ClientTokenT>(value);
250 template <
typename ClientTokenT = Aws::String>
271 ServiceReportConfiguration m_reportConfiguration;
275 DevOpsAgentConfiguration m_devOpsAgentConfiguration;
280 bool m_nameHasBeenSet =
false;
281 bool m_descriptionHasBeenSet =
false;
282 bool m_associatedSystemsHasBeenSet =
false;
283 bool m_policyArnHasBeenSet =
false;
284 bool m_regionsHasBeenSet =
false;
285 bool m_permissionModelHasBeenSet =
false;
286 bool m_dependencyDiscoveryHasBeenSet =
false;
287 bool m_reportConfigurationHasBeenSet =
false;
288 bool m_kmsKeyIdHasBeenSet =
false;
289 bool m_devOpsAgentConfigurationHasBeenSet =
false;
290 bool m_tagsHasBeenSet =
false;
291 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
bool DevOpsAgentConfigurationHasBeenSet() 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
void SetDevOpsAgentConfiguration(DevOpsAgentConfigurationT &&value)
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)
CreateServiceRequest & WithDevOpsAgentConfiguration(DevOpsAgentConfigurationT &&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
const DevOpsAgentConfiguration & GetDevOpsAgentConfiguration() 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