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/PartnerAppType.h>
11#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
12#include <aws/sagemaker/model/PartnerAppConfig.h>
13#include <aws/sagemaker/model/PartnerAppAuthType.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/Tag.h>
17#include <aws/core/utils/UUID.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
74 template<
typename ExecutionRoleArnT = Aws::String>
75 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
76 template<
typename ExecutionRoleArnT = Aws::String>
88 template<
typename KmsKeyIdT = Aws::String>
89 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
90 template<
typename KmsKeyIdT = Aws::String>
100 template<
typename Ma
intenanceConfigT = PartnerAppMa
intenanceConfig>
101 void SetMaintenanceConfig(MaintenanceConfigT&& value) { m_maintenanceConfigHasBeenSet =
true; m_maintenanceConfig = std::forward<MaintenanceConfigT>(value); }
102 template<
typename Ma
intenanceConfigT = PartnerAppMa
intenanceConfig>
113 template<
typename TierT = Aws::String>
114 void SetTier(TierT&& value) { m_tierHasBeenSet =
true; m_tier = std::forward<TierT>(value); }
115 template<
typename TierT = Aws::String>
125 template<
typename ApplicationConfigT = PartnerAppConfig>
126 void SetApplicationConfig(ApplicationConfigT&& value) { m_applicationConfigHasBeenSet =
true; m_applicationConfig = std::forward<ApplicationConfigT>(value); }
127 template<
typename ApplicationConfigT = PartnerAppConfig>
160 template<
typename ClientTokenT = Aws::String>
161 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
162 template<
typename ClientTokenT = Aws::String>
173 template<
typename TagsT = Aws::Vector<Tag>>
174 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
175 template<
typename TagsT = Aws::Vector<Tag>>
177 template<
typename TagsT = Tag>
183 bool m_nameHasBeenSet =
false;
186 bool m_typeHasBeenSet =
false;
189 bool m_executionRoleArnHasBeenSet =
false;
192 bool m_kmsKeyIdHasBeenSet =
false;
194 PartnerAppMaintenanceConfig m_maintenanceConfig;
195 bool m_maintenanceConfigHasBeenSet =
false;
198 bool m_tierHasBeenSet =
false;
200 PartnerAppConfig m_applicationConfig;
201 bool m_applicationConfigHasBeenSet =
false;
204 bool m_authTypeHasBeenSet =
false;
206 bool m_enableIamSessionBasedIdentity{
false};
207 bool m_enableIamSessionBasedIdentityHasBeenSet =
false;
210 bool m_clientTokenHasBeenSet =
true;
213 bool m_tagsHasBeenSet =
false;
const Aws::String & GetExecutionRoleArn() const
const Aws::String & GetTier() const
const Aws::String & GetKmsKeyId() const
void SetName(NameT &&value)
void SetAuthType(PartnerAppAuthType value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetMaintenanceConfig(MaintenanceConfigT &&value)
PartnerAppAuthType GetAuthType() const
CreatePartnerAppRequest & WithAuthType(PartnerAppAuthType value)
void SetTier(TierT &&value)
const PartnerAppConfig & GetApplicationConfig() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
CreatePartnerAppRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetName() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_SAGEMAKER_API CreatePartnerAppRequest()=default
CreatePartnerAppRequest & WithTags(TagsT &&value)
const PartnerAppMaintenanceConfig & GetMaintenanceConfig() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool KmsKeyIdHasBeenSet() const
CreatePartnerAppRequest & AddTags(TagsT &&value)
CreatePartnerAppRequest & WithTier(TierT &&value)
bool TypeHasBeenSet() const
CreatePartnerAppRequest & WithMaintenanceConfig(MaintenanceConfigT &&value)
CreatePartnerAppRequest & WithType(PartnerAppType value)
CreatePartnerAppRequest & WithName(NameT &&value)
PartnerAppType GetType() const
bool ApplicationConfigHasBeenSet() const
CreatePartnerAppRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetEnableIamSessionBasedIdentity(bool value)
bool AuthTypeHasBeenSet() const
CreatePartnerAppRequest & WithClientToken(ClientTokenT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool EnableIamSessionBasedIdentityHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreatePartnerAppRequest & WithApplicationConfig(ApplicationConfigT &&value)
bool NameHasBeenSet() const
bool ExecutionRoleArnHasBeenSet() const
void SetType(PartnerAppType value)
CreatePartnerAppRequest & WithEnableIamSessionBasedIdentity(bool value)
const Aws::String & GetClientToken() const
void SetApplicationConfig(ApplicationConfigT &&value)
bool MaintenanceConfigHasBeenSet() const
bool TagsHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool TierHasBeenSet() const
bool ClientTokenHasBeenSet() const
bool GetEnableIamSessionBasedIdentity() const
static Aws::Utils::UUID PseudoRandomUUID()
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