AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Platform.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda-core/LambdaCore_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LambdaCore {
20namespace Model {
21
28class Platform {
29 public:
30 AWS_LAMBDACORE_API Platform() = default;
31 AWS_LAMBDACORE_API Platform(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LAMBDACORE_API Platform& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LAMBDACORE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArchitecture() const { return m_architecture; }
40 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
41 template <typename ArchitectureT = Aws::String>
42 void SetArchitecture(ArchitectureT&& value) {
43 m_architectureHasBeenSet = true;
44 m_architecture = std::forward<ArchitectureT>(value);
45 }
46 template <typename ArchitectureT = Aws::String>
47 Platform& WithArchitecture(ArchitectureT&& value) {
48 SetArchitecture(std::forward<ArchitectureT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOs() const { return m_os; }
58 inline bool OsHasBeenSet() const { return m_osHasBeenSet; }
59 template <typename OsT = Aws::String>
60 void SetOs(OsT&& value) {
61 m_osHasBeenSet = true;
62 m_os = std::forward<OsT>(value);
63 }
64 template <typename OsT = Aws::String>
65 Platform& WithOs(OsT&& value) {
66 SetOs(std::forward<OsT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDigest() const { return m_digest; }
76 inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; }
77 template <typename DigestT = Aws::String>
78 void SetDigest(DigestT&& value) {
79 m_digestHasBeenSet = true;
80 m_digest = std::forward<DigestT>(value);
81 }
82 template <typename DigestT = Aws::String>
83 Platform& WithDigest(DigestT&& value) {
84 SetDigest(std::forward<DigestT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_architecture;
90
91 Aws::String m_os;
92
93 Aws::String m_digest;
94 bool m_architectureHasBeenSet = false;
95 bool m_osHasBeenSet = false;
96 bool m_digestHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace LambdaCore
101} // namespace Aws
bool ArchitectureHasBeenSet() const
Definition Platform.h:40
Platform & WithArchitecture(ArchitectureT &&value)
Definition Platform.h:47
Platform & WithDigest(DigestT &&value)
Definition Platform.h:83
Platform & WithOs(OsT &&value)
Definition Platform.h:65
AWS_LAMBDACORE_API Platform()=default
void SetArchitecture(ArchitectureT &&value)
Definition Platform.h:42
AWS_LAMBDACORE_API Platform(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOs() const
Definition Platform.h:57
const Aws::String & GetDigest() const
Definition Platform.h:75
const Aws::String & GetArchitecture() const
Definition Platform.h:39
AWS_LAMBDACORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDACORE_API Platform & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDigest(DigestT &&value)
Definition Platform.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue