AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Definition.h
1
6#pragma once
7#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-edge/model/Checksum.h>
10#include <aws/sagemaker-edge/model/ModelState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SagemakerEdgeManager
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKEREDGEMANAGER_API Definition();
37 AWS_SAGEMAKEREDGEMANAGER_API Definition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKEREDGEMANAGER_API Definition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetModelHandle() const{ return m_modelHandle; }
47 inline bool ModelHandleHasBeenSet() const { return m_modelHandleHasBeenSet; }
48 inline void SetModelHandle(const Aws::String& value) { m_modelHandleHasBeenSet = true; m_modelHandle = value; }
49 inline void SetModelHandle(Aws::String&& value) { m_modelHandleHasBeenSet = true; m_modelHandle = std::move(value); }
50 inline void SetModelHandle(const char* value) { m_modelHandleHasBeenSet = true; m_modelHandle.assign(value); }
51 inline Definition& WithModelHandle(const Aws::String& value) { SetModelHandle(value); return *this;}
52 inline Definition& WithModelHandle(Aws::String&& value) { SetModelHandle(std::move(value)); return *this;}
53 inline Definition& WithModelHandle(const char* value) { SetModelHandle(value); return *this;}
55
57
60 inline const Aws::String& GetS3Url() const{ return m_s3Url; }
61 inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; }
62 inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; }
63 inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); }
64 inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); }
65 inline Definition& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
66 inline Definition& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
67 inline Definition& WithS3Url(const char* value) { SetS3Url(value); return *this;}
69
71
74 inline const Checksum& GetChecksum() const{ return m_checksum; }
75 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
76 inline void SetChecksum(const Checksum& value) { m_checksumHasBeenSet = true; m_checksum = value; }
77 inline void SetChecksum(Checksum&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
78 inline Definition& WithChecksum(const Checksum& value) { SetChecksum(value); return *this;}
79 inline Definition& WithChecksum(Checksum&& value) { SetChecksum(std::move(value)); return *this;}
81
83
86 inline const ModelState& GetState() const{ return m_state; }
87 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
88 inline void SetState(const ModelState& value) { m_stateHasBeenSet = true; m_state = value; }
89 inline void SetState(ModelState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
90 inline Definition& WithState(const ModelState& value) { SetState(value); return *this;}
91 inline Definition& WithState(ModelState&& value) { SetState(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_modelHandle;
96 bool m_modelHandleHasBeenSet = false;
97
98 Aws::String m_s3Url;
99 bool m_s3UrlHasBeenSet = false;
100
101 Checksum m_checksum;
102 bool m_checksumHasBeenSet = false;
103
104 ModelState m_state;
105 bool m_stateHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SagemakerEdgeManager
110} // namespace Aws
AWS_SAGEMAKEREDGEMANAGER_API Definition & operator=(Aws::Utils::Json::JsonView jsonValue)
Definition & WithChecksum(Checksum &&value)
Definition Definition.h:79
Definition & WithModelHandle(const char *value)
Definition Definition.h:53
Definition & WithChecksum(const Checksum &value)
Definition Definition.h:78
Definition & WithModelHandle(const Aws::String &value)
Definition Definition.h:51
Definition & WithState(const ModelState &value)
Definition Definition.h:90
AWS_SAGEMAKEREDGEMANAGER_API Definition()
const Aws::String & GetModelHandle() const
Definition Definition.h:46
Definition & WithState(ModelState &&value)
Definition Definition.h:91
void SetModelHandle(const Aws::String &value)
Definition Definition.h:48
Definition & WithModelHandle(Aws::String &&value)
Definition Definition.h:52
void SetState(const ModelState &value)
Definition Definition.h:88
const ModelState & GetState() const
Definition Definition.h:86
Definition & WithS3Url(const Aws::String &value)
Definition Definition.h:65
void SetChecksum(const Checksum &value)
Definition Definition.h:76
const Aws::String & GetS3Url() const
Definition Definition.h:60
AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Definition & WithS3Url(const char *value)
Definition Definition.h:67
Definition & WithS3Url(Aws::String &&value)
Definition Definition.h:66
void SetS3Url(const Aws::String &value)
Definition Definition.h:62
void SetModelHandle(Aws::String &&value)
Definition Definition.h:49
AWS_SAGEMAKEREDGEMANAGER_API Definition(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue