AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelDigests.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API ModelDigests();
36 AWS_SAGEMAKER_API ModelDigests(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API ModelDigests& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetArtifactDigest() const{ return m_artifactDigest; }
47 inline bool ArtifactDigestHasBeenSet() const { return m_artifactDigestHasBeenSet; }
48 inline void SetArtifactDigest(const Aws::String& value) { m_artifactDigestHasBeenSet = true; m_artifactDigest = value; }
49 inline void SetArtifactDigest(Aws::String&& value) { m_artifactDigestHasBeenSet = true; m_artifactDigest = std::move(value); }
50 inline void SetArtifactDigest(const char* value) { m_artifactDigestHasBeenSet = true; m_artifactDigest.assign(value); }
51 inline ModelDigests& WithArtifactDigest(const Aws::String& value) { SetArtifactDigest(value); return *this;}
52 inline ModelDigests& WithArtifactDigest(Aws::String&& value) { SetArtifactDigest(std::move(value)); return *this;}
53 inline ModelDigests& WithArtifactDigest(const char* value) { SetArtifactDigest(value); return *this;}
55 private:
56
57 Aws::String m_artifactDigest;
58 bool m_artifactDigestHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SageMaker
63} // namespace Aws
ModelDigests & WithArtifactDigest(const char *value)
const Aws::String & GetArtifactDigest() const
ModelDigests & WithArtifactDigest(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDigests & WithArtifactDigest(const Aws::String &value)
AWS_SAGEMAKER_API ModelDigests & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArtifactDigest(Aws::String &&value)
void SetArtifactDigest(const char *value)
void SetArtifactDigest(const Aws::String &value)
AWS_SAGEMAKER_API ModelDigests(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue