AWS SDK for C++  1.9.16
AWS SDK for C++
GetLayerVersionByArnRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Lambda
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetLayerVersionByArn"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
69  inline GetLayerVersionByArnRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
74  inline GetLayerVersionByArnRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 
79  inline GetLayerVersionByArnRequest& WithArn(const char* value) { SetArn(value); return *this;}
80 
81  private:
82 
83  Aws::String m_arn;
84  bool m_arnHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Lambda
89 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::GetLayerVersionByArnRequest::SetArn
void SetArn(Aws::String &&value)
Definition: GetLayerVersionByArnRequest.h:59
Aws::Lambda::Model::GetLayerVersionByArnRequest::WithArn
GetLayerVersionByArnRequest & WithArn(Aws::String &&value)
Definition: GetLayerVersionByArnRequest.h:74
Aws::Lambda::Model::GetLayerVersionByArnRequest::SetArn
void SetArn(const Aws::String &value)
Definition: GetLayerVersionByArnRequest.h:54
Aws::Lambda::Model::GetLayerVersionByArnRequest::GetArn
const Aws::String & GetArn() const
Definition: GetLayerVersionByArnRequest.h:44
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetLayerVersionByArnRequest::GetLayerVersionByArnRequest
GetLayerVersionByArnRequest()
Aws::Lambda::Model::GetLayerVersionByArnRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetLayerVersionByArnRequest.h:34
Aws::Lambda::Model::GetLayerVersionByArnRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::GetLayerVersionByArnRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::GetLayerVersionByArnRequest::WithArn
GetLayerVersionByArnRequest & WithArn(const char *value)
Definition: GetLayerVersionByArnRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::GetLayerVersionByArnRequest
Definition: GetLayerVersionByArnRequest.h:26
Aws::Lambda::Model::GetLayerVersionByArnRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: GetLayerVersionByArnRequest.h:49
Aws::Lambda::Model::GetLayerVersionByArnRequest::SetArn
void SetArn(const char *value)
Definition: GetLayerVersionByArnRequest.h:64
Lambda_EXPORTS.h
Aws::Lambda::Model::GetLayerVersionByArnRequest::WithArn
GetLayerVersionByArnRequest & WithArn(const Aws::String &value)
Definition: GetLayerVersionByArnRequest.h:69