AWS SDK for C++  1.9.154
AWS SDK for C++
ModelDigests.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetArtifactDigest() const{ return m_artifactDigest; }
46 
51  inline bool ArtifactDigestHasBeenSet() const { return m_artifactDigestHasBeenSet; }
52 
57  inline void SetArtifactDigest(const Aws::String& value) { m_artifactDigestHasBeenSet = true; m_artifactDigest = value; }
58 
63  inline void SetArtifactDigest(Aws::String&& value) { m_artifactDigestHasBeenSet = true; m_artifactDigest = std::move(value); }
64 
69  inline void SetArtifactDigest(const char* value) { m_artifactDigestHasBeenSet = true; m_artifactDigest.assign(value); }
70 
75  inline ModelDigests& WithArtifactDigest(const Aws::String& value) { SetArtifactDigest(value); return *this;}
76 
81  inline ModelDigests& WithArtifactDigest(Aws::String&& value) { SetArtifactDigest(std::move(value)); return *this;}
82 
87  inline ModelDigests& WithArtifactDigest(const char* value) { SetArtifactDigest(value); return *this;}
88 
89  private:
90 
91  Aws::String m_artifactDigest;
92  bool m_artifactDigestHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace SageMaker
97 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ModelDigests
Definition: ModelDigests.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelDigests::SetArtifactDigest
void SetArtifactDigest(const Aws::String &value)
Definition: ModelDigests.h:57
Aws::SageMaker::Model::ModelDigests::WithArtifactDigest
ModelDigests & WithArtifactDigest(Aws::String &&value)
Definition: ModelDigests.h:81
Aws::SageMaker::Model::ModelDigests::ArtifactDigestHasBeenSet
bool ArtifactDigestHasBeenSet() const
Definition: ModelDigests.h:51
Aws::SageMaker::Model::ModelDigests::SetArtifactDigest
void SetArtifactDigest(Aws::String &&value)
Definition: ModelDigests.h:63
Aws::SageMaker::Model::ModelDigests::SetArtifactDigest
void SetArtifactDigest(const char *value)
Definition: ModelDigests.h:69
Aws::SageMaker::Model::ModelDigests::operator=
ModelDigests & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelDigests::ModelDigests
ModelDigests()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelDigests::WithArtifactDigest
ModelDigests & WithArtifactDigest(const Aws::String &value)
Definition: ModelDigests.h:75
Aws::SageMaker::Model::ModelDigests::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ModelDigests::GetArtifactDigest
const Aws::String & GetArtifactDigest() const
Definition: ModelDigests.h:45
Aws::SageMaker::Model::ModelDigests::ModelDigests
ModelDigests(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelDigests::WithArtifactDigest
ModelDigests & WithArtifactDigest(const char *value)
Definition: ModelDigests.h:87