7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/AppType.h>
12#include <aws/sagemaker/model/ResourceSpec.h>
13#include <aws/sagemaker/model/Tag.h>
43 template <
typename DomainIdT = Aws::String>
45 m_domainIdHasBeenSet =
true;
46 m_domainId = std::forward<DomainIdT>(value);
48 template <
typename DomainIdT = Aws::String>
62 template <
typename UserProfileNameT = Aws::String>
64 m_userProfileNameHasBeenSet =
true;
65 m_userProfileName = std::forward<UserProfileNameT>(value);
67 template <
typename UserProfileNameT = Aws::String>
81 template <
typename SpaceNameT = Aws::String>
83 m_spaceNameHasBeenSet =
true;
84 m_spaceName = std::forward<SpaceNameT>(value);
86 template <
typename SpaceNameT = Aws::String>
100 m_appTypeHasBeenSet =
true;
115 template <
typename AppNameT = Aws::String>
117 m_appNameHasBeenSet =
true;
118 m_appName = std::forward<AppNameT>(value);
120 template <
typename AppNameT = Aws::String>
134 template <
typename TagsT = Aws::Vector<Tag>>
136 m_tagsHasBeenSet =
true;
137 m_tags = std::forward<TagsT>(value);
139 template <
typename TagsT = Aws::Vector<Tag>>
141 SetTags(std::forward<TagsT>(value));
144 template <
typename TagsT = Tag>
146 m_tagsHasBeenSet =
true;
147 m_tags.emplace_back(std::forward<TagsT>(value));
165 template <
typename ResourceSpecT = ResourceSpec>
167 m_resourceSpecHasBeenSet =
true;
168 m_resourceSpec = std::forward<ResourceSpecT>(value);
170 template <
typename ResourceSpecT = ResourceSpec>
184 m_recoveryModeHasBeenSet =
true;
185 m_recoveryMode = value;
205 ResourceSpec m_resourceSpec;
207 bool m_recoveryMode{
false};
208 bool m_domainIdHasBeenSet =
false;
209 bool m_userProfileNameHasBeenSet =
false;
210 bool m_spaceNameHasBeenSet =
false;
211 bool m_appTypeHasBeenSet =
false;
212 bool m_appNameHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
214 bool m_resourceSpecHasBeenSet =
false;
215 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