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/resiliencehub/ResilienceHubRequest.h>
12#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
13#include <aws/resiliencehub/model/AppAssessmentScheduleType.h>
14#include <aws/resiliencehub/model/EventSubscription.h>
15#include <aws/resiliencehub/model/PermissionModel.h>
20namespace ResilienceHub {
44 m_assessmentScheduleHasBeenSet =
true;
45 m_assessmentSchedule = value;
63 template <
typename AwsApplicationArnT = Aws::String>
65 m_awsApplicationArnHasBeenSet =
true;
66 m_awsApplicationArn = std::forward<AwsApplicationArnT>(value);
68 template <
typename AwsApplicationArnT = Aws::String>
83 template <
typename ClientTokenT = Aws::String>
85 m_clientTokenHasBeenSet =
true;
86 m_clientToken = std::forward<ClientTokenT>(value);
88 template <
typename ClientTokenT = Aws::String>
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
121 template <
typename EventSubscriptionsT = Aws::Vector<EventSubscription>>
123 m_eventSubscriptionsHasBeenSet =
true;
124 m_eventSubscriptions = std::forward<EventSubscriptionsT>(value);
126 template <
typename EventSubscriptionsT = Aws::Vector<EventSubscription>>
131 template <
typename EventSubscriptionsT = EventSubscription>
133 m_eventSubscriptionsHasBeenSet =
true;
134 m_eventSubscriptions.emplace_back(std::forward<EventSubscriptionsT>(value));
145 template <
typename NameT = Aws::String>
147 m_nameHasBeenSet =
true;
148 m_name = std::forward<NameT>(value);
150 template <
typename NameT = Aws::String>
152 SetName(std::forward<NameT>(value));
165 template <
typename PermissionModelT = PermissionModel>
167 m_permissionModelHasBeenSet =
true;
168 m_permissionModel = std::forward<PermissionModelT>(value);
170 template <
typename PermissionModelT = PermissionModel>
189 template <
typename PolicyArnT = Aws::String>
191 m_policyArnHasBeenSet =
true;
192 m_policyArn = std::forward<PolicyArnT>(value);
194 template <
typename PolicyArnT = Aws::String>
208 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 m_tagsHasBeenSet =
true;
211 m_tags = std::forward<TagsT>(value);
213 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 SetTags(std::forward<TagsT>(value));
218 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
220 m_tagsHasBeenSet =
true;
221 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
238 PermissionModel m_permissionModel;
243 bool m_assessmentScheduleHasBeenSet =
false;
244 bool m_awsApplicationArnHasBeenSet =
false;
245 bool m_clientTokenHasBeenSet =
true;
246 bool m_descriptionHasBeenSet =
false;
247 bool m_eventSubscriptionsHasBeenSet =
false;
248 bool m_nameHasBeenSet =
false;
249 bool m_permissionModelHasBeenSet =
false;
250 bool m_policyArnHasBeenSet =
false;
251 bool m_tagsHasBeenSet =
false;
const Aws::String & GetAwsApplicationArn() const
void SetDescription(DescriptionT &&value)
CreateAppRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
AppAssessmentScheduleType GetAssessmentSchedule() const
bool NameHasBeenSet() const
CreateAppRequest & WithName(NameT &&value)
void SetClientToken(ClientTokenT &&value)
CreateAppRequest & WithAssessmentSchedule(AppAssessmentScheduleType value)
CreateAppRequest & AddEventSubscriptions(EventSubscriptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
void SetAssessmentSchedule(AppAssessmentScheduleType value)
CreateAppRequest & WithDescription(DescriptionT &&value)
CreateAppRequest & WithPermissionModel(PermissionModelT &&value)
CreateAppRequest & WithEventSubscriptions(EventSubscriptionsT &&value)
bool EventSubscriptionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPermissionModel(PermissionModelT &&value)
const Aws::Vector< EventSubscription > & GetEventSubscriptions() const
CreateAppRequest & WithAwsApplicationArn(AwsApplicationArnT &&value)
const Aws::String & GetDescription() const
void SetTags(TagsT &&value)
CreateAppRequest & WithTags(TagsT &&value)
const Aws::String & GetPolicyArn() const
const Aws::String & GetName() const
bool ClientTokenHasBeenSet() const
bool AssessmentScheduleHasBeenSet() const
void SetPolicyArn(PolicyArnT &&value)
const PermissionModel & GetPermissionModel() const
CreateAppRequest & WithClientToken(ClientTokenT &&value)
bool PolicyArnHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
bool AwsApplicationArnHasBeenSet() const
CreateAppRequest & WithPolicyArn(PolicyArnT &&value)
void SetEventSubscriptions(EventSubscriptionsT &&value)
bool PermissionModelHasBeenSet() const
void SetName(NameT &&value)
AWS_RESILIENCEHUB_API CreateAppRequest()=default
void SetAwsApplicationArn(AwsApplicationArnT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
AppAssessmentScheduleType
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