AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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 GetLayerVersionPolicyRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
45 inline GetLayerVersionPolicyRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
46 inline GetLayerVersionPolicyRequest& 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 GetLayerVersionPolicyRequest& 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
virtual const char * GetServiceRequestName() const override
GetLayerVersionPolicyRequest & WithLayerName(const char *value)
GetLayerVersionPolicyRequest & WithLayerName(const Aws::String &value)
GetLayerVersionPolicyRequest & WithVersionNumber(long long value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
GetLayerVersionPolicyRequest & WithLayerName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String