7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/AppType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/ResourceSpec.h>
13#include <aws/sagemaker/model/Tag.h>
47 template<
typename DomainIdT = Aws::String>
48 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
49 template<
typename DomainIdT = Aws::String>
60 template<
typename UserProfileNameT = Aws::String>
61 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet =
true; m_userProfileName = std::forward<UserProfileNameT>(value); }
62 template<
typename UserProfileNameT = Aws::String>
73 template<
typename SpaceNameT = Aws::String>
74 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet =
true; m_spaceName = std::forward<SpaceNameT>(value); }
75 template<
typename SpaceNameT = Aws::String>
95 template<
typename AppNameT = Aws::String>
96 void SetAppName(AppNameT&& value) { m_appNameHasBeenSet =
true; m_appName = std::forward<AppNameT>(value); }
97 template<
typename AppNameT = Aws::String>
108 template<
typename TagsT = Aws::Vector<Tag>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
110 template<
typename TagsT = Aws::Vector<Tag>>
112 template<
typename TagsT = Tag>
113 CreateAppRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
129 template<
typename ResourceSpecT = ResourceSpec>
130 void SetResourceSpec(ResourceSpecT&& value) { m_resourceSpecHasBeenSet =
true; m_resourceSpec = std::forward<ResourceSpecT>(value); }
131 template<
typename ResourceSpecT = ResourceSpec>
141 inline void SetRecoveryMode(
bool value) { m_recoveryModeHasBeenSet =
true; m_recoveryMode = value; }
147 bool m_domainIdHasBeenSet =
false;
150 bool m_userProfileNameHasBeenSet =
false;
153 bool m_spaceNameHasBeenSet =
false;
156 bool m_appTypeHasBeenSet =
false;
159 bool m_appNameHasBeenSet =
false;
162 bool m_tagsHasBeenSet =
false;
164 ResourceSpec m_resourceSpec;
165 bool m_resourceSpecHasBeenSet =
false;
167 bool m_recoveryMode{
false};
168 bool m_recoveryModeHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API CreateAppRequest()=default
CreateAppRequest & WithDomainId(DomainIdT &&value)
void SetTags(TagsT &&value)
void SetUserProfileName(UserProfileNameT &&value)
bool AppNameHasBeenSet() const
AppType GetAppType() const
void SetRecoveryMode(bool value)
bool SpaceNameHasBeenSet() const
bool DomainIdHasBeenSet() const
const Aws::String & GetDomainId() const
CreateAppRequest & WithUserProfileName(UserProfileNameT &&value)
void SetAppName(AppNameT &&value)
bool GetRecoveryMode() const
const Aws::String & GetAppName() const
void SetResourceSpec(ResourceSpecT &&value)
virtual const char * GetServiceRequestName() const override
CreateAppRequest & AddTags(TagsT &&value)
const Aws::String & GetSpaceName() const
const Aws::String & GetUserProfileName() const
CreateAppRequest & WithRecoveryMode(bool value)
bool TagsHasBeenSet() const
void SetAppType(AppType value)
CreateAppRequest & WithAppName(AppNameT &&value)
const ResourceSpec & GetResourceSpec() const
void SetDomainId(DomainIdT &&value)
bool AppTypeHasBeenSet() const
CreateAppRequest & WithResourceSpec(ResourceSpecT &&value)
bool UserProfileNameHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSpaceName(SpaceNameT &&value)
bool ResourceSpecHasBeenSet() const
bool RecoveryModeHasBeenSet() const
CreateAppRequest & WithAppType(AppType value)
CreateAppRequest & WithSpaceName(SpaceNameT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateAppRequest & WithTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector