7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehub/model/AppAssessmentScheduleType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/resiliencehub/model/PermissionModel.h>
13#include <aws/resiliencehub/model/EventSubscription.h>
18namespace ResilienceHub
53 inline void SetAppArn(
const char* value) { m_appArnHasBeenSet =
true; m_appArn.assign(value); }
89 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
138 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
146 bool m_appArnHasBeenSet =
false;
149 bool m_assessmentScheduleHasBeenSet =
false;
151 bool m_clearResiliencyPolicyArn;
152 bool m_clearResiliencyPolicyArnHasBeenSet =
false;
155 bool m_descriptionHasBeenSet =
false;
158 bool m_eventSubscriptionsHasBeenSet =
false;
161 bool m_permissionModelHasBeenSet =
false;
164 bool m_policyArnHasBeenSet =
false;
bool EventSubscriptionsHasBeenSet() const
const Aws::Vector< EventSubscription > & GetEventSubscriptions() const
bool PolicyArnHasBeenSet() const
void SetPermissionModel(const PermissionModel &value)
void SetPolicyArn(Aws::String &&value)
bool DescriptionHasBeenSet() const
UpdateAppRequest & WithPermissionModel(const PermissionModel &value)
void SetDescription(const char *value)
void SetAssessmentSchedule(const AppAssessmentScheduleType &value)
void SetDescription(Aws::String &&value)
void SetPolicyArn(const Aws::String &value)
UpdateAppRequest & WithClearResiliencyPolicyArn(bool value)
UpdateAppRequest & AddEventSubscriptions(const EventSubscription &value)
UpdateAppRequest & WithPermissionModel(PermissionModel &&value)
bool AssessmentScheduleHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPermissionModel(PermissionModel &&value)
void SetDescription(const Aws::String &value)
UpdateAppRequest & WithAppArn(const char *value)
const Aws::String & GetPolicyArn() const
UpdateAppRequest & WithAppArn(Aws::String &&value)
void SetAppArn(const Aws::String &value)
void SetEventSubscriptions(Aws::Vector< EventSubscription > &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
const AppAssessmentScheduleType & GetAssessmentSchedule() const
UpdateAppRequest & AddEventSubscriptions(EventSubscription &&value)
bool AppArnHasBeenSet() const
UpdateAppRequest & WithDescription(const Aws::String &value)
bool PermissionModelHasBeenSet() const
AWS_RESILIENCEHUB_API UpdateAppRequest()
UpdateAppRequest & WithEventSubscriptions(const Aws::Vector< EventSubscription > &value)
void SetEventSubscriptions(const Aws::Vector< EventSubscription > &value)
UpdateAppRequest & WithPolicyArn(const Aws::String &value)
bool GetClearResiliencyPolicyArn() const
void SetPolicyArn(const char *value)
UpdateAppRequest & WithPolicyArn(Aws::String &&value)
UpdateAppRequest & WithDescription(const char *value)
void SetClearResiliencyPolicyArn(bool value)
UpdateAppRequest & WithDescription(Aws::String &&value)
UpdateAppRequest & WithAppArn(const Aws::String &value)
void SetAppArn(Aws::String &&value)
void SetAppArn(const char *value)
UpdateAppRequest & WithEventSubscriptions(Aws::Vector< EventSubscription > &&value)
const Aws::String & GetAppArn() const
const Aws::String & GetDescription() const
UpdateAppRequest & WithAssessmentSchedule(AppAssessmentScheduleType &&value)
UpdateAppRequest & WithPolicyArn(const char *value)
UpdateAppRequest & WithAssessmentSchedule(const AppAssessmentScheduleType &value)
bool ClearResiliencyPolicyArnHasBeenSet() const
const PermissionModel & GetPermissionModel() const
void SetAssessmentSchedule(AppAssessmentScheduleType &&value)
AppAssessmentScheduleType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector