AWS SDK for C++  1.9.66
AWS SDK for C++
ListTagsForResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GroundStation
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
42 
46  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
47 
51  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
52 
56  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
57 
61  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
62 
66  inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
67 
71  inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
72 
76  inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
77 
78  private:
79 
80  Aws::String m_resourceArn;
81  bool m_resourceArnHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace GroundStation
86 } // namespace Aws
Aws::GroundStation::Model::ListTagsForResourceRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: ListTagsForResourceRequest.h:61
Aws::GroundStation::Model::ListTagsForResourceRequest::ListTagsForResourceRequest
ListTagsForResourceRequest()
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::ListTagsForResourceRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:56
Aws::GroundStation::Model::ListTagsForResourceRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: ListTagsForResourceRequest.h:46
Aws::GroundStation::Model::ListTagsForResourceRequest::SerializePayload
Aws::String SerializePayload() const override
GroundStationRequest.h
GroundStation_EXPORTS.h
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::ListTagsForResourceRequest
Definition: ListTagsForResourceRequest.h:25
Aws::GroundStation::Model::ListTagsForResourceRequest::WithResourceArn
ListTagsForResourceRequest & WithResourceArn(const char *value)
Definition: ListTagsForResourceRequest.h:76
Aws::GroundStation::Model::ListTagsForResourceRequest::WithResourceArn
ListTagsForResourceRequest & WithResourceArn(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListTagsForResourceRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:51
Aws::GroundStation::Model::ListTagsForResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForResourceRequest.h:33
Aws::GroundStation::Model::ListTagsForResourceRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: ListTagsForResourceRequest.h:41
Aws::GroundStation::Model::ListTagsForResourceRequest::WithResourceArn
ListTagsForResourceRequest & WithResourceArn(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:71