AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsLambdaLayerVersionDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
29 public:
30 AWS_SECURITYHUB_API AwsLambdaLayerVersionDetails() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetVersion() const { return m_version; }
40 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
41 inline void SetVersion(long long value) {
42 m_versionHasBeenSet = true;
43 m_version = value;
44 }
45 inline AwsLambdaLayerVersionDetails& WithVersion(long long value) {
46 SetVersion(value);
47 return *this;
48 }
50
52
67 inline const Aws::Vector<Aws::String>& GetCompatibleRuntimes() const { return m_compatibleRuntimes; }
68 inline bool CompatibleRuntimesHasBeenSet() const { return m_compatibleRuntimesHasBeenSet; }
69 template <typename CompatibleRuntimesT = Aws::Vector<Aws::String>>
70 void SetCompatibleRuntimes(CompatibleRuntimesT&& value) {
71 m_compatibleRuntimesHasBeenSet = true;
72 m_compatibleRuntimes = std::forward<CompatibleRuntimesT>(value);
73 }
74 template <typename CompatibleRuntimesT = Aws::Vector<Aws::String>>
76 SetCompatibleRuntimes(std::forward<CompatibleRuntimesT>(value));
77 return *this;
78 }
79 template <typename CompatibleRuntimesT = Aws::String>
81 m_compatibleRuntimesHasBeenSet = true;
82 m_compatibleRuntimes.emplace_back(std::forward<CompatibleRuntimesT>(value));
83 return *this;
84 }
86
88
93 inline const Aws::String& GetCreatedDate() const { return m_createdDate; }
94 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
95 template <typename CreatedDateT = Aws::String>
96 void SetCreatedDate(CreatedDateT&& value) {
97 m_createdDateHasBeenSet = true;
98 m_createdDate = std::forward<CreatedDateT>(value);
99 }
100 template <typename CreatedDateT = Aws::String>
102 SetCreatedDate(std::forward<CreatedDateT>(value));
103 return *this;
104 }
106 private:
107 long long m_version{0};
108
109 Aws::Vector<Aws::String> m_compatibleRuntimes;
110
111 Aws::String m_createdDate;
112 bool m_versionHasBeenSet = false;
113 bool m_compatibleRuntimesHasBeenSet = false;
114 bool m_createdDateHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace SecurityHub
119} // namespace Aws
AWS_SECURITYHUB_API AwsLambdaLayerVersionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsLambdaLayerVersionDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsLambdaLayerVersionDetails & WithVersion(long long value)
AwsLambdaLayerVersionDetails & WithCompatibleRuntimes(CompatibleRuntimesT &&value)
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(CompatibleRuntimesT &&value)
AwsLambdaLayerVersionDetails & WithCreatedDate(CreatedDateT &&value)
const Aws::Vector< Aws::String > & GetCompatibleRuntimes() const
AWS_SECURITYHUB_API AwsLambdaLayerVersionDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue