AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeTaskExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DataSync
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 "DescribeTaskExecution"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; }
44 
48  inline bool TaskExecutionArnHasBeenSet() const { return m_taskExecutionArnHasBeenSet; }
49 
53  inline void SetTaskExecutionArn(const Aws::String& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = value; }
54 
58  inline void SetTaskExecutionArn(Aws::String&& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = std::move(value); }
59 
63  inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn.assign(value); }
64 
68  inline DescribeTaskExecutionRequest& WithTaskExecutionArn(const Aws::String& value) { SetTaskExecutionArn(value); return *this;}
69 
73  inline DescribeTaskExecutionRequest& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;}
74 
78  inline DescribeTaskExecutionRequest& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;}
79 
80  private:
81 
82  Aws::String m_taskExecutionArn;
83  bool m_taskExecutionArnHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace DataSync
88 } // namespace Aws
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataSync::Model::DescribeTaskExecutionRequest::GetTaskExecutionArn
const Aws::String & GetTaskExecutionArn() const
Definition: DescribeTaskExecutionRequest.h:43
Aws::DataSync::Model::DescribeTaskExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTaskExecutionRequest.h:33
DataSyncRequest.h
Aws::DataSync::Model::DescribeTaskExecutionRequest::WithTaskExecutionArn
DescribeTaskExecutionRequest & WithTaskExecutionArn(const char *value)
Definition: DescribeTaskExecutionRequest.h:78
Aws::DataSync::Model::DescribeTaskExecutionRequest::TaskExecutionArnHasBeenSet
bool TaskExecutionArnHasBeenSet() const
Definition: DescribeTaskExecutionRequest.h:48
Aws::DataSync::Model::DescribeTaskExecutionRequest::SetTaskExecutionArn
void SetTaskExecutionArn(Aws::String &&value)
Definition: DescribeTaskExecutionRequest.h:58
Aws::DataSync::Model::DescribeTaskExecutionRequest::DescribeTaskExecutionRequest
DescribeTaskExecutionRequest()
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeTaskExecutionRequest::WithTaskExecutionArn
DescribeTaskExecutionRequest & WithTaskExecutionArn(const Aws::String &value)
Definition: DescribeTaskExecutionRequest.h:68
Aws::DataSync::Model::DescribeTaskExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataSync::DataSyncRequest
Definition: DataSyncRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::DescribeTaskExecutionRequest::SetTaskExecutionArn
void SetTaskExecutionArn(const char *value)
Definition: DescribeTaskExecutionRequest.h:63
Aws::DataSync::Model::DescribeTaskExecutionRequest
Definition: DescribeTaskExecutionRequest.h:25
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::DescribeTaskExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataSync::Model::DescribeTaskExecutionRequest::WithTaskExecutionArn
DescribeTaskExecutionRequest & WithTaskExecutionArn(Aws::String &&value)
Definition: DescribeTaskExecutionRequest.h:73
Aws::DataSync::Model::DescribeTaskExecutionRequest::SetTaskExecutionArn
void SetTaskExecutionArn(const Aws::String &value)
Definition: DescribeTaskExecutionRequest.h:53