7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMakerRequest.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/IdcConfigInput.h>
13#include <aws/sagemaker/model/PartnerAppAuthType.h>
14#include <aws/sagemaker/model/PartnerAppConfig.h>
15#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
16#include <aws/sagemaker/model/PartnerAppType.h>
17#include <aws/sagemaker/model/Tag.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
68 m_typeHasBeenSet =
true;
83 template <
typename ExecutionRoleArnT = Aws::String>
85 m_executionRoleArnHasBeenSet =
true;
86 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
88 template <
typename ExecutionRoleArnT = Aws::String>
103 template <
typename KmsKeyIdT = Aws::String>
105 m_kmsKeyIdHasBeenSet =
true;
106 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
108 template <
typename KmsKeyIdT = Aws::String>
121 template <
typename Ma
intenanceConfigT = PartnerAppMa
intenanceConfig>
123 m_maintenanceConfigHasBeenSet =
true;
124 m_maintenanceConfig = std::forward<MaintenanceConfigT>(value);
126 template <
typename Ma
intenanceConfigT = PartnerAppMa
intenanceConfig>
140 template <
typename TierT = Aws::String>
142 m_tierHasBeenSet =
true;
143 m_tier = std::forward<TierT>(value);
145 template <
typename TierT = Aws::String>
147 SetTier(std::forward<TierT>(value));
158 template <
typename ApplicationConfigT = PartnerAppConfig>
160 m_applicationConfigHasBeenSet =
true;
161 m_applicationConfig = std::forward<ApplicationConfigT>(value);
163 template <
typename ApplicationConfigT = PartnerAppConfig>
179 template <
typename IdcConfigT = IdcConfigInput>
181 m_idcConfigHasBeenSet =
true;
182 m_idcConfig = std::forward<IdcConfigT>(value);
184 template <
typename IdcConfigT = IdcConfigInput>
203 m_authTypeHasBeenSet =
true;
221 m_enableIamSessionBasedIdentityHasBeenSet =
true;
222 m_enableIamSessionBasedIdentity = value;
239 m_enableAutoMinorVersionUpgradeHasBeenSet =
true;
240 m_enableAutoMinorVersionUpgrade = value;
254 template <
typename ClientTokenT = Aws::String>
256 m_clientTokenHasBeenSet =
true;
257 m_clientToken = std::forward<ClientTokenT>(value);
259 template <
typename ClientTokenT = Aws::String>
273 template <
typename TagsT = Aws::Vector<Tag>>
275 m_tagsHasBeenSet =
true;
276 m_tags = std::forward<TagsT>(value);
278 template <
typename TagsT = Aws::Vector<Tag>>
280 SetTags(std::forward<TagsT>(value));
283 template <
typename TagsT = Tag>
285 m_tagsHasBeenSet =
true;
286 m_tags.emplace_back(std::forward<TagsT>(value));
299 PartnerAppMaintenanceConfig m_maintenanceConfig;
303 PartnerAppConfig m_applicationConfig;
305 IdcConfigInput m_idcConfig;
309 bool m_enableIamSessionBasedIdentity{
false};
311 bool m_enableAutoMinorVersionUpgrade{
false};
316 bool m_nameHasBeenSet =
false;
317 bool m_typeHasBeenSet =
false;
318 bool m_executionRoleArnHasBeenSet =
false;
319 bool m_kmsKeyIdHasBeenSet =
false;
320 bool m_maintenanceConfigHasBeenSet =
false;
321 bool m_tierHasBeenSet =
false;
322 bool m_applicationConfigHasBeenSet =
false;
323 bool m_idcConfigHasBeenSet =
false;
324 bool m_authTypeHasBeenSet =
false;
325 bool m_enableIamSessionBasedIdentityHasBeenSet =
false;
326 bool m_enableAutoMinorVersionUpgradeHasBeenSet =
false;
327 bool m_clientTokenHasBeenSet =
true;
328 bool m_tagsHasBeenSet =
false;
const IdcConfigInput & GetIdcConfig() const
CreatePartnerAppRequest & WithIdcConfig(IdcConfigT &&value)
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
bool IdcConfigHasBeenSet() 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 SetIdcConfig(IdcConfigT &&value)
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)
void SetEnableAutoMinorVersionUpgrade(bool value)
PartnerAppType GetType() const
bool EnableAutoMinorVersionUpgradeHasBeenSet() const
bool ApplicationConfigHasBeenSet() const
CreatePartnerAppRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetEnableIamSessionBasedIdentity(bool value)
bool GetEnableAutoMinorVersionUpgrade() const
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
CreatePartnerAppRequest & WithEnableAutoMinorVersionUpgrade(bool value)
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