AWS SDK for C++  1.9.154
AWS SDK for C++
CreateArtifactResult.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& GetArtifactArn() const{ return m_artifactArn; }
39 
43  inline void SetArtifactArn(const Aws::String& value) { m_artifactArn = value; }
44 
48  inline void SetArtifactArn(Aws::String&& value) { m_artifactArn = std::move(value); }
49 
53  inline void SetArtifactArn(const char* value) { m_artifactArn.assign(value); }
54 
58  inline CreateArtifactResult& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
59 
63  inline CreateArtifactResult& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
64 
68  inline CreateArtifactResult& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_artifactArn;
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::CreateArtifactResult::SetArtifactArn
void SetArtifactArn(Aws::String &&value)
Definition: CreateArtifactResult.h:48
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateArtifactResult::WithArtifactArn
CreateArtifactResult & WithArtifactArn(const char *value)
Definition: CreateArtifactResult.h:68
Aws::SageMaker::Model::CreateArtifactResult::GetArtifactArn
const Aws::String & GetArtifactArn() const
Definition: CreateArtifactResult.h:38
Aws::SageMaker::Model::CreateArtifactResult::WithArtifactArn
CreateArtifactResult & WithArtifactArn(Aws::String &&value)
Definition: CreateArtifactResult.h:63
AWSString.h
Aws::SageMaker::Model::CreateArtifactResult::SetArtifactArn
void SetArtifactArn(const char *value)
Definition: CreateArtifactResult.h:53
Aws::SageMaker::Model::CreateArtifactResult
Definition: CreateArtifactResult.h:28
Aws::SageMaker::Model::CreateArtifactResult::SetArtifactArn
void SetArtifactArn(const Aws::String &value)
Definition: CreateArtifactResult.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateArtifactResult::WithArtifactArn
CreateArtifactResult & WithArtifactArn(const Aws::String &value)
Definition: CreateArtifactResult.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateArtifactResult::CreateArtifactResult
CreateArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::CreateArtifactResult::operator=
CreateArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::CreateArtifactResult::CreateArtifactResult
CreateArtifactResult()