AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsLambdaLayerVersionDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API AwsLambdaLayerVersionDetails() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetVersion() const { return m_version; }
46 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
47 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
48 inline AwsLambdaLayerVersionDetails& WithVersion(long long value) { SetVersion(value); return *this;}
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) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = std::forward<CompatibleRuntimesT>(value); }
71 template<typename CompatibleRuntimesT = Aws::Vector<Aws::String>>
72 AwsLambdaLayerVersionDetails& WithCompatibleRuntimes(CompatibleRuntimesT&& value) { SetCompatibleRuntimes(std::forward<CompatibleRuntimesT>(value)); return *this;}
73 template<typename CompatibleRuntimesT = Aws::String>
74 AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(CompatibleRuntimesT&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.emplace_back(std::forward<CompatibleRuntimesT>(value)); return *this; }
76
78
83 inline const Aws::String& GetCreatedDate() const { return m_createdDate; }
84 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
85 template<typename CreatedDateT = Aws::String>
86 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
87 template<typename CreatedDateT = Aws::String>
88 AwsLambdaLayerVersionDetails& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
90 private:
91
92 long long m_version{0};
93 bool m_versionHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_compatibleRuntimes;
96 bool m_compatibleRuntimesHasBeenSet = false;
97
98 Aws::String m_createdDate;
99 bool m_createdDateHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityHub
104} // 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