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/PartnerAppAuthType.h>
13#include <aws/sagemaker/model/PartnerAppConfig.h>
14#include <aws/sagemaker/model/PartnerAppMaintenanceConfig.h>
15#include <aws/sagemaker/model/PartnerAppType.h>
16#include <aws/sagemaker/model/Tag.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
67 m_typeHasBeenSet =
true;
82 template <
typename ExecutionRoleArnT = Aws::String>
84 m_executionRoleArnHasBeenSet =
true;
85 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
87 template <
typename ExecutionRoleArnT = Aws::String>
102 template <
typename KmsKeyIdT = Aws::String>
104 m_kmsKeyIdHasBeenSet =
true;
105 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
107 template <
typename KmsKeyIdT = Aws::String>
120 template <
typename Ma
intenanceConfigT = PartnerAppMa
intenanceConfig>
122 m_maintenanceConfigHasBeenSet =
true;
123 m_maintenanceConfig = std::forward<MaintenanceConfigT>(value);
125 template <
typename Ma
intenanceConfigT = PartnerAppMa
intenanceConfig>
139 template <
typename TierT = Aws::String>
141 m_tierHasBeenSet =
true;
142 m_tier = std::forward<TierT>(value);
144 template <
typename TierT = Aws::String>
146 SetTier(std::forward<TierT>(value));
157 template <
typename ApplicationConfigT = PartnerAppConfig>
159 m_applicationConfigHasBeenSet =
true;
160 m_applicationConfig = std::forward<ApplicationConfigT>(value);
162 template <
typename ApplicationConfigT = PartnerAppConfig>
177 m_authTypeHasBeenSet =
true;
195 m_enableIamSessionBasedIdentityHasBeenSet =
true;
196 m_enableIamSessionBasedIdentity = value;
213 m_enableAutoMinorVersionUpgradeHasBeenSet =
true;
214 m_enableAutoMinorVersionUpgrade = value;
228 template <
typename ClientTokenT = Aws::String>
230 m_clientTokenHasBeenSet =
true;
231 m_clientToken = std::forward<ClientTokenT>(value);
233 template <
typename ClientTokenT = Aws::String>
247 template <
typename TagsT = Aws::Vector<Tag>>
249 m_tagsHasBeenSet =
true;
250 m_tags = std::forward<TagsT>(value);
252 template <
typename TagsT = Aws::Vector<Tag>>
254 SetTags(std::forward<TagsT>(value));
257 template <
typename TagsT = Tag>
259 m_tagsHasBeenSet =
true;
260 m_tags.emplace_back(std::forward<TagsT>(value));
273 PartnerAppMaintenanceConfig m_maintenanceConfig;
277 PartnerAppConfig m_applicationConfig;
281 bool m_enableIamSessionBasedIdentity{
false};
283 bool m_enableAutoMinorVersionUpgrade{
false};
288 bool m_nameHasBeenSet =
false;
289 bool m_typeHasBeenSet =
false;
290 bool m_executionRoleArnHasBeenSet =
false;
291 bool m_kmsKeyIdHasBeenSet =
false;
292 bool m_maintenanceConfigHasBeenSet =
false;
293 bool m_tierHasBeenSet =
false;
294 bool m_applicationConfigHasBeenSet =
false;
295 bool m_authTypeHasBeenSet =
false;
296 bool m_enableIamSessionBasedIdentityHasBeenSet =
false;
297 bool m_enableAutoMinorVersionUpgradeHasBeenSet =
false;
298 bool m_clientTokenHasBeenSet =
true;
299 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)
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