AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Checksum.h
1
6#pragma once
7#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
8#include <aws/sagemaker-edge/model/ChecksumType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SagemakerEdgeManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKEREDGEMANAGER_API Checksum();
37 AWS_SAGEMAKEREDGEMANAGER_API Checksum(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKEREDGEMANAGER_API Checksum& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ChecksumType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const ChecksumType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(ChecksumType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline Checksum& WithType(const ChecksumType& value) { SetType(value); return *this;}
51 inline Checksum& WithType(ChecksumType&& value) { SetType(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetSum() const{ return m_sum; }
59 inline bool SumHasBeenSet() const { return m_sumHasBeenSet; }
60 inline void SetSum(const Aws::String& value) { m_sumHasBeenSet = true; m_sum = value; }
61 inline void SetSum(Aws::String&& value) { m_sumHasBeenSet = true; m_sum = std::move(value); }
62 inline void SetSum(const char* value) { m_sumHasBeenSet = true; m_sum.assign(value); }
63 inline Checksum& WithSum(const Aws::String& value) { SetSum(value); return *this;}
64 inline Checksum& WithSum(Aws::String&& value) { SetSum(std::move(value)); return *this;}
65 inline Checksum& WithSum(const char* value) { SetSum(value); return *this;}
67 private:
68
69 ChecksumType m_type;
70 bool m_typeHasBeenSet = false;
71
72 Aws::String m_sum;
73 bool m_sumHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SagemakerEdgeManager
78} // namespace Aws
AWS_SAGEMAKEREDGEMANAGER_API Checksum()
Checksum & WithType(const ChecksumType &value)
Definition Checksum.h:50
AWS_SAGEMAKEREDGEMANAGER_API Checksum & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSum(const Aws::String &value)
Definition Checksum.h:60
Checksum & WithSum(const Aws::String &value)
Definition Checksum.h:63
AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Checksum & WithSum(const char *value)
Definition Checksum.h:65
void SetSum(Aws::String &&value)
Definition Checksum.h:61
Checksum & WithSum(Aws::String &&value)
Definition Checksum.h:64
const Aws::String & GetSum() const
Definition Checksum.h:58
void SetType(const ChecksumType &value)
Definition Checksum.h:48
AWS_SAGEMAKEREDGEMANAGER_API Checksum(Aws::Utils::Json::JsonView jsonValue)
const ChecksumType & GetType() const
Definition Checksum.h:46
Checksum & WithType(ChecksumType &&value)
Definition Checksum.h:51
void SetType(ChecksumType &&value)
Definition Checksum.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue