7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/resiliencehub/model/AppAssessmentScheduleType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/resiliencehub/model/PermissionModel.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/resiliencehub/model/EventSubscription.h>
16#include <aws/core/utils/UUID.h>
20namespace ResilienceHub
65 inline void SetAwsApplicationArn(
const char* value) { m_awsApplicationArnHasBeenSet =
true; m_awsApplicationArn.assign(value); }
81 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
95 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
125 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
159 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
182 inline CreateAppRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
187 bool m_assessmentScheduleHasBeenSet =
false;
190 bool m_awsApplicationArnHasBeenSet =
false;
193 bool m_clientTokenHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
199 bool m_eventSubscriptionsHasBeenSet =
false;
202 bool m_nameHasBeenSet =
false;
205 bool m_permissionModelHasBeenSet =
false;
208 bool m_policyArnHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
CreateAppRequest & WithName(const Aws::String &value)
const Aws::String & GetAwsApplicationArn() const
CreateAppRequest & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
void SetDescription(const Aws::String &value)
CreateAppRequest & WithDescription(const Aws::String &value)
CreateAppRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetEventSubscriptions(Aws::Vector< EventSubscription > &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
const AppAssessmentScheduleType & GetAssessmentSchedule() const
CreateAppRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool NameHasBeenSet() const
CreateAppRequest & WithPolicyArn(Aws::String &&value)
CreateAppRequest & WithEventSubscriptions(const Aws::Vector< EventSubscription > &value)
void SetName(const char *value)
CreateAppRequest & AddTags(Aws::String &&key, const char *value)
CreateAppRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetPermissionModel(PermissionModel &&value)
CreateAppRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAppRequest & WithName(const char *value)
CreateAppRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAppRequest & WithClientToken(const Aws::String &value)
CreateAppRequest & AddTags(const char *key, Aws::String &&value)
bool TagsHasBeenSet() const
CreateAppRequest & WithPermissionModel(PermissionModel &&value)
void SetPolicyArn(const char *value)
CreateAppRequest & WithPolicyArn(const char *value)
void SetDescription(Aws::String &&value)
CreateAppRequest & WithName(Aws::String &&value)
void SetAwsApplicationArn(Aws::String &&value)
CreateAppRequest & WithPermissionModel(const PermissionModel &value)
void SetAwsApplicationArn(const Aws::String &value)
AWS_RESILIENCEHUB_API CreateAppRequest()
void SetEventSubscriptions(const Aws::Vector< EventSubscription > &value)
void SetName(const Aws::String &value)
bool EventSubscriptionsHasBeenSet() const
void SetAssessmentSchedule(const AppAssessmentScheduleType &value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(const char *value)
const Aws::Vector< EventSubscription > & GetEventSubscriptions() const
CreateAppRequest & WithAssessmentSchedule(const AppAssessmentScheduleType &value)
const Aws::String & GetDescription() const
CreateAppRequest & WithClientToken(Aws::String &&value)
void SetPermissionModel(const PermissionModel &value)
const Aws::String & GetPolicyArn() const
const Aws::String & GetName() const
bool ClientTokenHasBeenSet() const
void SetPolicyArn(const Aws::String &value)
bool AssessmentScheduleHasBeenSet() const
CreateAppRequest & WithAwsApplicationArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppRequest & WithEventSubscriptions(Aws::Vector< EventSubscription > &&value)
const PermissionModel & GetPermissionModel() const
void SetName(Aws::String &&value)
CreateAppRequest & WithAssessmentSchedule(AppAssessmentScheduleType &&value)
bool PolicyArnHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
CreateAppRequest & WithClientToken(const char *value)
CreateAppRequest & WithAwsApplicationArn(const char *value)
bool AwsApplicationArnHasBeenSet() const
CreateAppRequest & WithPolicyArn(const Aws::String &value)
void SetPolicyArn(Aws::String &&value)
void SetAwsApplicationArn(const char *value)
CreateAppRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAppRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAssessmentSchedule(AppAssessmentScheduleType &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAppRequest & WithDescription(const char *value)
void SetClientToken(Aws::String &&value)
bool PermissionModelHasBeenSet() const
CreateAppRequest & WithAwsApplicationArn(const Aws::String &value)
CreateAppRequest & AddEventSubscriptions(EventSubscription &&value)
CreateAppRequest & AddEventSubscriptions(const EventSubscription &value)
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