AWS SDK for C++  1.9.106
AWS SDK for C++
AwsLambdaLayerVersionDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SecurityHub
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline long long GetVersion() const{ return m_version; }
45 
49  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
50 
54  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
55 
59  inline AwsLambdaLayerVersionDetails& WithVersion(long long value) { SetVersion(value); return *this;}
60 
61 
70  inline const Aws::Vector<Aws::String>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
71 
80  inline bool CompatibleRuntimesHasBeenSet() const { return m_compatibleRuntimesHasBeenSet; }
81 
90  inline void SetCompatibleRuntimes(const Aws::Vector<Aws::String>& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = value; }
91 
100  inline void SetCompatibleRuntimes(Aws::Vector<Aws::String>&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = std::move(value); }
101 
110  inline AwsLambdaLayerVersionDetails& WithCompatibleRuntimes(const Aws::Vector<Aws::String>& value) { SetCompatibleRuntimes(value); return *this;}
111 
120  inline AwsLambdaLayerVersionDetails& WithCompatibleRuntimes(Aws::Vector<Aws::String>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
121 
130  inline AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(const Aws::String& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; }
131 
140  inline AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(Aws::String&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(std::move(value)); return *this; }
141 
150  inline AwsLambdaLayerVersionDetails& AddCompatibleRuntimes(const char* value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; }
151 
152 
160  inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
161 
169  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
170 
178  inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
179 
187  inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
188 
196  inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
197 
205  inline AwsLambdaLayerVersionDetails& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
206 
214  inline AwsLambdaLayerVersionDetails& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
215 
223  inline AwsLambdaLayerVersionDetails& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
224 
225  private:
226 
227  long long m_version;
228  bool m_versionHasBeenSet;
229 
230  Aws::Vector<Aws::String> m_compatibleRuntimes;
231  bool m_compatibleRuntimesHasBeenSet;
232 
233  Aws::String m_createdDate;
234  bool m_createdDateHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace SecurityHub
239 } // namespace Aws
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::AddCompatibleRuntimes
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(Aws::String &&value)
Definition: AwsLambdaLayerVersionDetails.h:140
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::GetVersion
long long GetVersion() const
Definition: AwsLambdaLayerVersionDetails.h:44
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::WithCreatedDate
AwsLambdaLayerVersionDetails & WithCreatedDate(const char *value)
Definition: AwsLambdaLayerVersionDetails.h:223
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::AddCompatibleRuntimes
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(const char *value)
Definition: AwsLambdaLayerVersionDetails.h:150
AWSVector.h
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::SetCreatedDate
void SetCreatedDate(const char *value)
Definition: AwsLambdaLayerVersionDetails.h:196
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails
Definition: AwsLambdaLayerVersionDetails.h:33
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::WithVersion
AwsLambdaLayerVersionDetails & WithVersion(long long value)
Definition: AwsLambdaLayerVersionDetails.h:59
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::CompatibleRuntimesHasBeenSet
bool CompatibleRuntimesHasBeenSet() const
Definition: AwsLambdaLayerVersionDetails.h:80
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::WithCreatedDate
AwsLambdaLayerVersionDetails & WithCreatedDate(const Aws::String &value)
Definition: AwsLambdaLayerVersionDetails.h:205
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::SetCreatedDate
void SetCreatedDate(Aws::String &&value)
Definition: AwsLambdaLayerVersionDetails.h:187
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::operator=
AwsLambdaLayerVersionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::GetCompatibleRuntimes
const Aws::Vector< Aws::String > & GetCompatibleRuntimes() const
Definition: AwsLambdaLayerVersionDetails.h:70
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: AwsLambdaLayerVersionDetails.h:49
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: AwsLambdaLayerVersionDetails.h:169
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::SetCompatibleRuntimes
void SetCompatibleRuntimes(Aws::Vector< Aws::String > &&value)
Definition: AwsLambdaLayerVersionDetails.h:100
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::WithCreatedDate
AwsLambdaLayerVersionDetails & WithCreatedDate(Aws::String &&value)
Definition: AwsLambdaLayerVersionDetails.h:214
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::AwsLambdaLayerVersionDetails
AwsLambdaLayerVersionDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::GetCreatedDate
const Aws::String & GetCreatedDate() const
Definition: AwsLambdaLayerVersionDetails.h:160
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::WithCompatibleRuntimes
AwsLambdaLayerVersionDetails & WithCompatibleRuntimes(Aws::Vector< Aws::String > &&value)
Definition: AwsLambdaLayerVersionDetails.h:120
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::AwsLambdaLayerVersionDetails
AwsLambdaLayerVersionDetails()
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::SetVersion
void SetVersion(long long value)
Definition: AwsLambdaLayerVersionDetails.h:54
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::SetCompatibleRuntimes
void SetCompatibleRuntimes(const Aws::Vector< Aws::String > &value)
Definition: AwsLambdaLayerVersionDetails.h:90
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::WithCompatibleRuntimes
AwsLambdaLayerVersionDetails & WithCompatibleRuntimes(const Aws::Vector< Aws::String > &value)
Definition: AwsLambdaLayerVersionDetails.h:110
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::AddCompatibleRuntimes
AwsLambdaLayerVersionDetails & AddCompatibleRuntimes(const Aws::String &value)
Definition: AwsLambdaLayerVersionDetails.h:130
Aws::SecurityHub::Model::AwsLambdaLayerVersionDetails::SetCreatedDate
void SetCreatedDate(const Aws::String &value)
Definition: AwsLambdaLayerVersionDetails.h:178