AWS SDK for C++  1.9.129
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 
39  inline const Aws::String& GetResource() const{ return m_resource; }
40 
45  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
46 
51  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
52 
57  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
58 
63  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
64 
69  inline ListTagsRequest& WithResource(const Aws::String& value) { SetResource(value); return *this;}
70 
75  inline ListTagsRequest& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
76 
81  inline ListTagsRequest& WithResource(const char* value) { SetResource(value); return *this;}
82 
83  private:
84 
85  Aws::String m_resource;
86  bool m_resourceHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Lambda
91 } // namespace Aws
Aws::Lambda::Model::ListTagsRequest::ListTagsRequest
ListTagsRequest()
Aws::Lambda::Model::ListTagsRequest::WithResource
ListTagsRequest & WithResource(const Aws::String &value)
Definition: ListTagsRequest.h:69
Aws::Lambda::Model::ListTagsRequest::SetResource
void SetResource(const char *value)
Definition: ListTagsRequest.h:63
Aws::Lambda::Model::ListTagsRequest::WithResource
ListTagsRequest & WithResource(Aws::String &&value)
Definition: ListTagsRequest.h:75
Aws::Lambda::Model::ListTagsRequest::WithResource
ListTagsRequest & WithResource(const char *value)
Definition: ListTagsRequest.h:81
Aws::Lambda::Model::ListTagsRequest::GetResource
const Aws::String & GetResource() const
Definition: ListTagsRequest.h:39
Aws::Lambda::Model::ListTagsRequest
Definition: ListTagsRequest.h:22
Aws::Lambda::Model::ListTagsRequest::SetResource
void SetResource(const Aws::String &value)
Definition: ListTagsRequest.h:51
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:45
Aws::Lambda::Model::ListTagsRequest::SetResource
void SetResource(Aws::String &&value)
Definition: ListTagsRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Lambda_EXPORTS.h