AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetLayerVersionPolicyRequest.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 GetLayerVersionPolicyRequest() = default;
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 "GetLayerVersionPolicy"; }
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 template<typename LayerNameT = Aws::String>
42 void SetLayerName(LayerNameT&& value) { m_layerNameHasBeenSet = true; m_layerName = std::forward<LayerNameT>(value); }
43 template<typename LayerNameT = Aws::String>
44 GetLayerVersionPolicyRequest& WithLayerName(LayerNameT&& value) { SetLayerName(std::forward<LayerNameT>(value)); return *this;}
46
48
51 inline long long GetVersionNumber() const { return m_versionNumber; }
52 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
53 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
54 inline GetLayerVersionPolicyRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
56 private:
57
58 Aws::String m_layerName;
59 bool m_layerNameHasBeenSet = false;
60
61 long long m_versionNumber{0};
62 bool m_versionNumberHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace Lambda
67} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetLayerVersionPolicyRequest & WithLayerName(LayerNameT &&value)
GetLayerVersionPolicyRequest & WithVersionNumber(long long value)
AWS_LAMBDA_API GetLayerVersionPolicyRequest()=default
AWS_LAMBDA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String