AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLayerVersionRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Lambda
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_LAMBDA_API GetLayerVersionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetLayerVersion"; }
31
32 AWS_LAMBDA_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetLayerName() const{ return m_layerName; }
40 inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
41 inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
42 inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
43 inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
44 inline GetLayerVersionRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
45 inline GetLayerVersionRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
46 inline GetLayerVersionRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;}
48
50
53 inline long long GetVersionNumber() const{ return m_versionNumber; }
54 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
55 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
56 inline GetLayerVersionRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
58 private:
59
60 Aws::String m_layerName;
61 bool m_layerNameHasBeenSet = false;
62
63 long long m_versionNumber;
64 bool m_versionNumberHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Lambda
69} // namespace Aws
AWS_LAMBDA_API Aws::String SerializePayload() const override
GetLayerVersionRequest & WithLayerName(const char *value)
virtual const char * GetServiceRequestName() const override
GetLayerVersionRequest & WithLayerName(Aws::String &&value)
GetLayerVersionRequest & WithLayerName(const Aws::String &value)
GetLayerVersionRequest & WithVersionNumber(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String