AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LayersListItem.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/LayerVersionsListItem.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 Lambda
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAMBDA_API LayersListItem();
38 AWS_LAMBDA_API LayersListItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetLayerName() const{ return m_layerName; }
48 inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
49 inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
50 inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
51 inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
52 inline LayersListItem& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
53 inline LayersListItem& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
54 inline LayersListItem& WithLayerName(const char* value) { SetLayerName(value); return *this;}
56
58
61 inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
62 inline bool LayerArnHasBeenSet() const { return m_layerArnHasBeenSet; }
63 inline void SetLayerArn(const Aws::String& value) { m_layerArnHasBeenSet = true; m_layerArn = value; }
64 inline void SetLayerArn(Aws::String&& value) { m_layerArnHasBeenSet = true; m_layerArn = std::move(value); }
65 inline void SetLayerArn(const char* value) { m_layerArnHasBeenSet = true; m_layerArn.assign(value); }
66 inline LayersListItem& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
67 inline LayersListItem& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
68 inline LayersListItem& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
70
72
75 inline const LayerVersionsListItem& GetLatestMatchingVersion() const{ return m_latestMatchingVersion; }
76 inline bool LatestMatchingVersionHasBeenSet() const { return m_latestMatchingVersionHasBeenSet; }
77 inline void SetLatestMatchingVersion(const LayerVersionsListItem& value) { m_latestMatchingVersionHasBeenSet = true; m_latestMatchingVersion = value; }
78 inline void SetLatestMatchingVersion(LayerVersionsListItem&& value) { m_latestMatchingVersionHasBeenSet = true; m_latestMatchingVersion = std::move(value); }
82 private:
83
84 Aws::String m_layerName;
85 bool m_layerNameHasBeenSet = false;
86
87 Aws::String m_layerArn;
88 bool m_layerArnHasBeenSet = false;
89
90 LayerVersionsListItem m_latestMatchingVersion;
91 bool m_latestMatchingVersionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Lambda
96} // namespace Aws
const Aws::String & GetLayerName() const
AWS_LAMBDA_API LayersListItem(Aws::Utils::Json::JsonView jsonValue)
void SetLayerArn(Aws::String &&value)
void SetLayerName(const Aws::String &value)
void SetLayerArn(const Aws::String &value)
void SetLatestMatchingVersion(const LayerVersionsListItem &value)
LayersListItem & WithLayerArn(const Aws::String &value)
void SetLayerName(Aws::String &&value)
void SetLayerName(const char *value)
void SetLatestMatchingVersion(LayerVersionsListItem &&value)
LayersListItem & WithLayerName(const Aws::String &value)
LayersListItem & WithLatestMatchingVersion(const LayerVersionsListItem &value)
AWS_LAMBDA_API LayersListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
LayersListItem & WithLayerName(const char *value)
const LayerVersionsListItem & GetLatestMatchingVersion() const
const Aws::String & GetLayerArn() const
LayersListItem & WithLatestMatchingVersion(LayerVersionsListItem &&value)
LayersListItem & WithLayerName(Aws::String &&value)
LayersListItem & WithLayerArn(const char *value)
LayersListItem & WithLayerArn(Aws::String &&value)
void SetLayerArn(const char *value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue