AWS SDK for C++  1.9.158
AWS SDK for C++
CreateModelResult.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& GetModelArn() const{ return m_modelArn; }
39 
43  inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
44 
48  inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
49 
53  inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
54 
58  inline CreateModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
59 
63  inline CreateModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
64 
68  inline CreateModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_modelArn;
73  };
74 
75 } // namespace Model
76 } // namespace SageMaker
77 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateModelResult::SetModelArn
void SetModelArn(const Aws::String &value)
Definition: CreateModelResult.h:43
Aws::SageMaker::Model::CreateModelResult::GetModelArn
const Aws::String & GetModelArn() const
Definition: CreateModelResult.h:38
Aws::SageMaker::Model::CreateModelResult::CreateModelResult
CreateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::CreateModelResult::WithModelArn
CreateModelResult & WithModelArn(Aws::String &&value)
Definition: CreateModelResult.h:63
Aws::SageMaker::Model::CreateModelResult::SetModelArn
void SetModelArn(Aws::String &&value)
Definition: CreateModelResult.h:48
Aws::SageMaker::Model::CreateModelResult::SetModelArn
void SetModelArn(const char *value)
Definition: CreateModelResult.h:53
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateModelResult::WithModelArn
CreateModelResult & WithModelArn(const char *value)
Definition: CreateModelResult.h:68
AWSString.h
Aws::SageMaker::Model::CreateModelResult
Definition: CreateModelResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateModelResult::WithModelArn
CreateModelResult & WithModelArn(const Aws::String &value)
Definition: CreateModelResult.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateModelResult::operator=
CreateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::CreateModelResult::CreateModelResult
CreateModelResult()