AWS SDK for C++  1.9.71
AWS SDK for C++
UpdateModelPackageResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetModelPackageArn() const{ return m_modelPackageArn; }
39 
43  inline void SetModelPackageArn(const Aws::String& value) { m_modelPackageArn = value; }
44 
48  inline void SetModelPackageArn(Aws::String&& value) { m_modelPackageArn = std::move(value); }
49 
53  inline void SetModelPackageArn(const char* value) { m_modelPackageArn.assign(value); }
54 
58  inline UpdateModelPackageResult& WithModelPackageArn(const Aws::String& value) { SetModelPackageArn(value); return *this;}
59 
63  inline UpdateModelPackageResult& WithModelPackageArn(Aws::String&& value) { SetModelPackageArn(std::move(value)); return *this;}
64 
68  inline UpdateModelPackageResult& WithModelPackageArn(const char* value) { SetModelPackageArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_modelPackageArn;
73  };
74 
75 } // namespace Model
76 } // namespace SageMaker
77 } // namespace Aws
Aws::SageMaker::Model::UpdateModelPackageResult::UpdateModelPackageResult
UpdateModelPackageResult()
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateModelPackageResult::SetModelPackageArn
void SetModelPackageArn(const Aws::String &value)
Definition: UpdateModelPackageResult.h:43
Aws::SageMaker::Model::UpdateModelPackageResult::GetModelPackageArn
const Aws::String & GetModelPackageArn() const
Definition: UpdateModelPackageResult.h:38
Aws::SageMaker::Model::UpdateModelPackageResult::SetModelPackageArn
void SetModelPackageArn(Aws::String &&value)
Definition: UpdateModelPackageResult.h:48
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateModelPackageResult
Definition: UpdateModelPackageResult.h:28
Aws::SageMaker::Model::UpdateModelPackageResult::UpdateModelPackageResult
UpdateModelPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SageMaker::Model::UpdateModelPackageResult::operator=
UpdateModelPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::UpdateModelPackageResult::WithModelPackageArn
UpdateModelPackageResult & WithModelPackageArn(const Aws::String &value)
Definition: UpdateModelPackageResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UpdateModelPackageResult::WithModelPackageArn
UpdateModelPackageResult & WithModelPackageArn(Aws::String &&value)
Definition: UpdateModelPackageResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateModelPackageResult::SetModelPackageArn
void SetModelPackageArn(const char *value)
Definition: UpdateModelPackageResult.h:53
Aws::SageMaker::Model::UpdateModelPackageResult::WithModelPackageArn
UpdateModelPackageResult & WithModelPackageArn(const char *value)
Definition: UpdateModelPackageResult.h:68