AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTaskExecutionRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/Options.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataSync
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATASYNC_API UpdateTaskExecutionRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateTaskExecution"; }
32
33 AWS_DATASYNC_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; }
44 inline bool TaskExecutionArnHasBeenSet() const { return m_taskExecutionArnHasBeenSet; }
45 inline void SetTaskExecutionArn(const Aws::String& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = value; }
46 inline void SetTaskExecutionArn(Aws::String&& value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn = std::move(value); }
47 inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArnHasBeenSet = true; m_taskExecutionArn.assign(value); }
49 inline UpdateTaskExecutionRequest& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;}
50 inline UpdateTaskExecutionRequest& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;}
52
54
55 inline const Options& GetOptions() const{ return m_options; }
56 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
57 inline void SetOptions(const Options& value) { m_optionsHasBeenSet = true; m_options = value; }
58 inline void SetOptions(Options&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
59 inline UpdateTaskExecutionRequest& WithOptions(const Options& value) { SetOptions(value); return *this;}
60 inline UpdateTaskExecutionRequest& WithOptions(Options&& value) { SetOptions(std::move(value)); return *this;}
62 private:
63
64 Aws::String m_taskExecutionArn;
65 bool m_taskExecutionArnHasBeenSet = false;
66
67 Options m_options;
68 bool m_optionsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DataSync
73} // namespace Aws
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateTaskExecutionRequest & WithOptions(const Options &value)
UpdateTaskExecutionRequest & WithTaskExecutionArn(Aws::String &&value)
UpdateTaskExecutionRequest & WithTaskExecutionArn(const Aws::String &value)
UpdateTaskExecutionRequest & WithTaskExecutionArn(const char *value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTaskExecutionRequest & WithOptions(Options &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String