AWS SDK for C++  1.9.44
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 MediaConvert
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 "ListTagsForResource"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
45  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 
51  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 
57  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 
63  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 
69  inline ListTagsForResourceRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
75  inline ListTagsForResourceRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
81  inline ListTagsForResourceRequest& WithArn(const char* value) { SetArn(value); return *this;}
82 
83  private:
84 
85  Aws::String m_arn;
86  bool m_arnHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace MediaConvert
91 } // namespace Aws
Aws::MediaConvert::Model::ListTagsForResourceRequest::SetArn
void SetArn(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:51
Aws::MediaConvert::Model::ListTagsForResourceRequest::WithArn
ListTagsForResourceRequest & WithArn(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:69
Aws::MediaConvert::Model::ListTagsForResourceRequest::WithArn
ListTagsForResourceRequest & WithArn(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:75
Aws::MediaConvert::Model::ListTagsForResourceRequest
Definition: ListTagsForResourceRequest.h:22
MediaConvertRequest.h
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::ListTagsForResourceRequest::SetArn
void SetArn(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:57
Aws::MediaConvert::Model::ListTagsForResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForResourceRequest.h:30
AWSString.h
Aws::MediaConvert::Model::ListTagsForResourceRequest::GetArn
const Aws::String & GetArn() const
Definition: ListTagsForResourceRequest.h:39
Aws::MediaConvert::Model::ListTagsForResourceRequest::WithArn
ListTagsForResourceRequest & WithArn(const char *value)
Definition: ListTagsForResourceRequest.h:81
Aws::MediaConvert::Model::ListTagsForResourceRequest::ListTagsForResourceRequest
ListTagsForResourceRequest()
Aws::MediaConvert::Model::ListTagsForResourceRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ListTagsForResourceRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::ListTagsForResourceRequest::SetArn
void SetArn(const char *value)
Definition: ListTagsForResourceRequest.h:63
Aws::MediaConvert::Model::ListTagsForResourceRequest::SerializePayload
Aws::String SerializePayload() const override