AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListLayerVersionsRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/model/Runtime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lambda/model/Architecture.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Lambda
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_LAMBDA_API ListLayerVersionsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListLayerVersions"; }
37
38 AWS_LAMBDA_API Aws::String SerializePayload() const override;
39
40 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
53 inline const Runtime& GetCompatibleRuntime() const{ return m_compatibleRuntime; }
54 inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; }
55 inline void SetCompatibleRuntime(const Runtime& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = value; }
56 inline void SetCompatibleRuntime(Runtime&& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = std::move(value); }
57 inline ListLayerVersionsRequest& WithCompatibleRuntime(const Runtime& value) { SetCompatibleRuntime(value); return *this;}
58 inline ListLayerVersionsRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetLayerName() const{ return m_layerName; }
66 inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
67 inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
68 inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
69 inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
70 inline ListLayerVersionsRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
71 inline ListLayerVersionsRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
72 inline ListLayerVersionsRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;}
74
76
79 inline const Aws::String& GetMarker() const{ return m_marker; }
80 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
81 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
82 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
83 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
84 inline ListLayerVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
85 inline ListLayerVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
86 inline ListLayerVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
88
90
93 inline int GetMaxItems() const{ return m_maxItems; }
94 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
95 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
96 inline ListLayerVersionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
98
100
105 inline const Architecture& GetCompatibleArchitecture() const{ return m_compatibleArchitecture; }
106 inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; }
107 inline void SetCompatibleArchitecture(const Architecture& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = value; }
108 inline void SetCompatibleArchitecture(Architecture&& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = std::move(value); }
112 private:
113
114 Runtime m_compatibleRuntime;
115 bool m_compatibleRuntimeHasBeenSet = false;
116
117 Aws::String m_layerName;
118 bool m_layerNameHasBeenSet = false;
119
120 Aws::String m_marker;
121 bool m_markerHasBeenSet = false;
122
123 int m_maxItems;
124 bool m_maxItemsHasBeenSet = false;
125
126 Architecture m_compatibleArchitecture;
127 bool m_compatibleArchitectureHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Lambda
132} // namespace Aws
ListLayerVersionsRequest & WithCompatibleArchitecture(const Architecture &value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLayerVersionsRequest & WithMarker(const Aws::String &value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
ListLayerVersionsRequest & WithLayerName(const Aws::String &value)
ListLayerVersionsRequest & WithLayerName(const char *value)
ListLayerVersionsRequest & WithLayerName(Aws::String &&value)
ListLayerVersionsRequest & WithMarker(const char *value)
ListLayerVersionsRequest & WithMaxItems(int value)
ListLayerVersionsRequest & WithCompatibleRuntime(Runtime &&value)
void SetCompatibleArchitecture(const Architecture &value)
ListLayerVersionsRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListLayerVersionsRequest & WithCompatibleRuntime(const Runtime &value)
ListLayerVersionsRequest & WithCompatibleArchitecture(Architecture &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String