AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCompatibleRuntimes(const Aws::Vector<Aws::String>& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = value; }
70 inline void SetCompatibleRuntimes(Aws::Vector<Aws::String>&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = std::move(value); }
73 inline AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(const Aws::String& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; }
74 inline AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(Aws::String&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(std::move(value)); return *this; }
75 inline AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(const char* value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; }
77
79
96 inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
97 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
98 inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
99 inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
100 inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
101 inline AwsLambdaLayerVersionDetails& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
102 inline AwsLambdaLayerVersionDetails& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
103 inline AwsLambdaLayerVersionDetails& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
105 private:
106
107 long long m_version;
108 bool m_versionHasBeenSet = false;
109
110 Aws::Vector<Aws::String> m_compatibleRuntimes;
111 bool m_compatibleRuntimesHasBeenSet = false;
112
113 Aws::String m_createdDate;
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)
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(const Aws::String &value)
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(const char *value)
AwsLambdaLayerVersionDetails & WithCreatedDate(const char *value)
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(Aws::String &&value)
AwsLambdaLayerVersionDetails & WithCompatibleRuntimes(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompatibleRuntimes(Aws::Vector< Aws::String > &&value)
AwsLambdaLayerVersionDetails & WithVersion(long long value)
AwsLambdaLayerVersionDetails & WithCreatedDate(const Aws::String &value)
void SetCompatibleRuntimes(const Aws::Vector< Aws::String > &value)
AwsLambdaLayerVersionDetails & WithCompatibleRuntimes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCompatibleRuntimes() const
AwsLambdaLayerVersionDetails & WithCreatedDate(Aws::String &&value)
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