7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11#include <aws/resiliencehubv2/model/AssociatedSystem.h>
12#include <aws/resiliencehubv2/model/DependencyDiscoveryInput.h>
13#include <aws/resiliencehubv2/model/PermissionModel.h>
14#include <aws/resiliencehubv2/model/ServiceReportConfiguration.h>
19namespace resiliencehubv2 {
40 template <
typename ServiceArnT = Aws::String>
42 m_serviceArnHasBeenSet =
true;
43 m_serviceArn = std::forward<ServiceArnT>(value);
45 template <
typename ServiceArnT = Aws::String>
56 template <
typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet =
true;
59 m_description = std::forward<DescriptionT>(value);
61 template <
typename DescriptionT = Aws::String>
74 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
76 m_associatedSystemsHasBeenSet =
true;
77 m_associatedSystems = std::forward<AssociatedSystemsT>(value);
79 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
84 template <
typename AssociatedSystemsT = AssociatedSystem>
86 m_associatedSystemsHasBeenSet =
true;
87 m_associatedSystems.emplace_back(std::forward<AssociatedSystemsT>(value));
96 template <
typename PolicyArnT = Aws::String>
98 m_policyArnHasBeenSet =
true;
99 m_policyArn = std::forward<PolicyArnT>(value);
101 template <
typename PolicyArnT = Aws::String>
114 template <
typename RegionsT = Aws::Vector<Aws::String>>
116 m_regionsHasBeenSet =
true;
117 m_regions = std::forward<RegionsT>(value);
119 template <
typename RegionsT = Aws::Vector<Aws::String>>
124 template <
typename RegionsT = Aws::String>
126 m_regionsHasBeenSet =
true;
127 m_regions.emplace_back(std::forward<RegionsT>(value));
138 template <
typename PermissionModelT = PermissionModel>
140 m_permissionModelHasBeenSet =
true;
141 m_permissionModel = std::forward<PermissionModelT>(value);
143 template <
typename PermissionModelT = PermissionModel>
155 m_dependencyDiscoveryHasBeenSet =
true;
156 m_dependencyDiscovery = value;
168 template <
typename ReportConfigurationT = ServiceReportConfiguration>
170 m_reportConfigurationHasBeenSet =
true;
171 m_reportConfiguration = std::forward<ReportConfigurationT>(value);
173 template <
typename ReportConfigurationT = ServiceReportConfiguration>
194 ServiceReportConfiguration m_reportConfiguration;
195 bool m_serviceArnHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
197 bool m_associatedSystemsHasBeenSet =
false;
198 bool m_policyArnHasBeenSet =
false;
199 bool m_regionsHasBeenSet =
false;
200 bool m_permissionModelHasBeenSet =
false;
201 bool m_dependencyDiscoveryHasBeenSet =
false;
202 bool m_reportConfigurationHasBeenSet =
false;
bool PolicyArnHasBeenSet() const
const Aws::Vector< AssociatedSystem > & GetAssociatedSystems() const
const Aws::String & GetServiceArn() const
const Aws::Vector< Aws::String > & GetRegions() const
bool ReportConfigurationHasBeenSet() const
UpdateServiceRequest & WithDependencyDiscovery(DependencyDiscoveryInput value)
UpdateServiceRequest & AddAssociatedSystems(AssociatedSystemsT &&value)
void SetRegions(RegionsT &&value)
bool RegionsHasBeenSet() const
UpdateServiceRequest & WithAssociatedSystems(AssociatedSystemsT &&value)
void SetDescription(DescriptionT &&value)
bool AssociatedSystemsHasBeenSet() const
void SetDependencyDiscovery(DependencyDiscoveryInput value)
const PermissionModel & GetPermissionModel() const
UpdateServiceRequest & WithPolicyArn(PolicyArnT &&value)
bool DependencyDiscoveryHasBeenSet() const
const Aws::String & GetPolicyArn() const
UpdateServiceRequest & WithServiceArn(ServiceArnT &&value)
void SetAssociatedSystems(AssociatedSystemsT &&value)
void SetServiceArn(ServiceArnT &&value)
void SetPermissionModel(PermissionModelT &&value)
void SetPolicyArn(PolicyArnT &&value)
const ServiceReportConfiguration & GetReportConfiguration() const
bool PermissionModelHasBeenSet() const
DependencyDiscoveryInput GetDependencyDiscovery() const
bool ServiceArnHasBeenSet() const
UpdateServiceRequest & WithDescription(DescriptionT &&value)
UpdateServiceRequest & WithReportConfiguration(ReportConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESILIENCEHUBV2_API UpdateServiceRequest()=default
UpdateServiceRequest & AddRegions(RegionsT &&value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetReportConfiguration(ReportConfigurationT &&value)
UpdateServiceRequest & WithPermissionModel(PermissionModelT &&value)
UpdateServiceRequest & WithRegions(RegionsT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector