AWS SDK for C++  1.9.16
AWS SDK for C++
ListTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Lambda
15 {
16 namespace 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 "ListTags"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetResource() const{ return m_resource; }
39 
43  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
44 
48  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
49 
53  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
54 
58  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
59 
63  inline ListTagsRequest& WithResource(const Aws::String& value) { SetResource(value); return *this;}
64 
68  inline ListTagsRequest& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
69 
73  inline ListTagsRequest& WithResource(const char* value) { SetResource(value); return *this;}
74 
75  private:
76 
77  Aws::String m_resource;
78  bool m_resourceHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Lambda
83 } // namespace Aws
Aws::Lambda::Model::ListTagsRequest::ListTagsRequest
ListTagsRequest()
Aws::Lambda::Model::ListTagsRequest::WithResource
ListTagsRequest & WithResource(const Aws::String &value)
Definition: ListTagsRequest.h:63
Aws::Lambda::Model::ListTagsRequest::SetResource
void SetResource(const char *value)
Definition: ListTagsRequest.h:58
Aws::Lambda::Model::ListTagsRequest::WithResource
ListTagsRequest & WithResource(Aws::String &&value)
Definition: ListTagsRequest.h:68
Aws::Lambda::Model::ListTagsRequest::WithResource
ListTagsRequest & WithResource(const char *value)
Definition: ListTagsRequest.h:73
Aws::Lambda::Model::ListTagsRequest::GetResource
const Aws::String & GetResource() const
Definition: ListTagsRequest.h:38
Aws::Lambda::Model::ListTagsRequest
Definition: ListTagsRequest.h:22
Aws::Lambda::Model::ListTagsRequest::SetResource
void SetResource(const Aws::String &value)
Definition: ListTagsRequest.h:48
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
AWSString.h
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsRequest.h:30
Aws::Lambda::Model::ListTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListTagsRequest::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: ListTagsRequest.h:43
Aws::Lambda::Model::ListTagsRequest::SetResource
void SetResource(Aws::String &&value)
Definition: ListTagsRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Lambda_EXPORTS.h