AWS SDK for C++  1.9.123
AWS SDK for C++
LayersListItem.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 Lambda
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetLayerName() const{ return m_layerName; }
47 
51  inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
52 
56  inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
57 
61  inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
62 
66  inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
67 
71  inline LayersListItem& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
72 
76  inline LayersListItem& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
77 
81  inline LayersListItem& WithLayerName(const char* value) { SetLayerName(value); return *this;}
82 
83 
87  inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
88 
92  inline bool LayerArnHasBeenSet() const { return m_layerArnHasBeenSet; }
93 
97  inline void SetLayerArn(const Aws::String& value) { m_layerArnHasBeenSet = true; m_layerArn = value; }
98 
102  inline void SetLayerArn(Aws::String&& value) { m_layerArnHasBeenSet = true; m_layerArn = std::move(value); }
103 
107  inline void SetLayerArn(const char* value) { m_layerArnHasBeenSet = true; m_layerArn.assign(value); }
108 
112  inline LayersListItem& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
113 
117  inline LayersListItem& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
118 
122  inline LayersListItem& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
123 
124 
128  inline const LayerVersionsListItem& GetLatestMatchingVersion() const{ return m_latestMatchingVersion; }
129 
133  inline bool LatestMatchingVersionHasBeenSet() const { return m_latestMatchingVersionHasBeenSet; }
134 
138  inline void SetLatestMatchingVersion(const LayerVersionsListItem& value) { m_latestMatchingVersionHasBeenSet = true; m_latestMatchingVersion = value; }
139 
143  inline void SetLatestMatchingVersion(LayerVersionsListItem&& value) { m_latestMatchingVersionHasBeenSet = true; m_latestMatchingVersion = std::move(value); }
144 
148  inline LayersListItem& WithLatestMatchingVersion(const LayerVersionsListItem& value) { SetLatestMatchingVersion(value); return *this;}
149 
153  inline LayersListItem& WithLatestMatchingVersion(LayerVersionsListItem&& value) { SetLatestMatchingVersion(std::move(value)); return *this;}
154 
155  private:
156 
157  Aws::String m_layerName;
158  bool m_layerNameHasBeenSet;
159 
160  Aws::String m_layerArn;
161  bool m_layerArnHasBeenSet;
162 
163  LayerVersionsListItem m_latestMatchingVersion;
164  bool m_latestMatchingVersionHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace Lambda
169 } // namespace Aws
LayerVersionsListItem.h
Aws::Lambda::Model::LayersListItem::WithLatestMatchingVersion
LayersListItem & WithLatestMatchingVersion(LayerVersionsListItem &&value)
Definition: LayersListItem.h:153
Aws::Lambda::Model::LayerVersionsListItem
Definition: LayerVersionsListItem.h:37
Aws::Lambda::Model::LayersListItem::SetLayerName
void SetLayerName(const Aws::String &value)
Definition: LayersListItem.h:56
Aws::Lambda::Model::LayersListItem::GetLayerArn
const Aws::String & GetLayerArn() const
Definition: LayersListItem.h:87
Aws::Lambda::Model::LayersListItem::LayerNameHasBeenSet
bool LayerNameHasBeenSet() const
Definition: LayersListItem.h:51
Aws::Lambda::Model::LayersListItem::GetLayerName
const Aws::String & GetLayerName() const
Definition: LayersListItem.h:46
Aws::Lambda::Model::LayersListItem::LayersListItem
LayersListItem()
Aws::Lambda::Model::LayersListItem::WithLayerArn
LayersListItem & WithLayerArn(const char *value)
Definition: LayersListItem.h:122
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::LayersListItem::WithLayerName
LayersListItem & WithLayerName(const char *value)
Definition: LayersListItem.h:81
Aws::Lambda::Model::LayersListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::LayersListItem::SetLayerArn
void SetLayerArn(Aws::String &&value)
Definition: LayersListItem.h:102
Aws::Lambda::Model::LayersListItem::SetLayerArn
void SetLayerArn(const Aws::String &value)
Definition: LayersListItem.h:97
Aws::Lambda::Model::LayersListItem::operator=
LayersListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Lambda::Model::LayersListItem::SetLayerName
void SetLayerName(const char *value)
Definition: LayersListItem.h:66
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::LayersListItem::WithLayerName
LayersListItem & WithLayerName(const Aws::String &value)
Definition: LayersListItem.h:71
Aws::Lambda::Model::LayersListItem::SetLayerArn
void SetLayerArn(const char *value)
Definition: LayersListItem.h:107
Aws::Lambda::Model::LayersListItem::WithLayerName
LayersListItem & WithLayerName(Aws::String &&value)
Definition: LayersListItem.h:76
Aws::Lambda::Model::LayersListItem
Definition: LayersListItem.h:35
Aws::Lambda::Model::LayersListItem::WithLayerArn
LayersListItem & WithLayerArn(Aws::String &&value)
Definition: LayersListItem.h:117
Aws::Lambda::Model::LayersListItem::SetLayerName
void SetLayerName(Aws::String &&value)
Definition: LayersListItem.h:61
Aws::Lambda::Model::LayersListItem::LatestMatchingVersionHasBeenSet
bool LatestMatchingVersionHasBeenSet() const
Definition: LayersListItem.h:133
Aws::Lambda::Model::LayersListItem::GetLatestMatchingVersion
const LayerVersionsListItem & GetLatestMatchingVersion() const
Definition: LayersListItem.h:128
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::LayersListItem::WithLatestMatchingVersion
LayersListItem & WithLatestMatchingVersion(const LayerVersionsListItem &value)
Definition: LayersListItem.h:148
Aws::Lambda::Model::LayersListItem::SetLatestMatchingVersion
void SetLatestMatchingVersion(LayerVersionsListItem &&value)
Definition: LayersListItem.h:143
Aws::Lambda::Model::LayersListItem::SetLatestMatchingVersion
void SetLatestMatchingVersion(const LayerVersionsListItem &value)
Definition: LayersListItem.h:138
Aws::Lambda::Model::LayersListItem::LayersListItem
LayersListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::LayersListItem::WithLayerArn
LayersListItem & WithLayerArn(const Aws::String &value)
Definition: LayersListItem.h:112
Aws::Lambda::Model::LayersListItem::LayerArnHasBeenSet
bool LayerArnHasBeenSet() const
Definition: LayersListItem.h:92
Lambda_EXPORTS.h