AWS SDK for C++  1.9.159
AWS SDK for C++
StartTaskExecutionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DataSync
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
44  inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; }
45 
50  inline void SetTaskExecutionArn(const Aws::String& value) { m_taskExecutionArn = value; }
51 
56  inline void SetTaskExecutionArn(Aws::String&& value) { m_taskExecutionArn = std::move(value); }
57 
62  inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArn.assign(value); }
63 
68  inline StartTaskExecutionResult& WithTaskExecutionArn(const Aws::String& value) { SetTaskExecutionArn(value); return *this;}
69 
74  inline StartTaskExecutionResult& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;}
75 
80  inline StartTaskExecutionResult& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;}
81 
82  private:
83 
84  Aws::String m_taskExecutionArn;
85  };
86 
87 } // namespace Model
88 } // namespace DataSync
89 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::StartTaskExecutionResult::StartTaskExecutionResult
StartTaskExecutionResult()
Aws::DataSync::Model::StartTaskExecutionResult::SetTaskExecutionArn
void SetTaskExecutionArn(const Aws::String &value)
Definition: StartTaskExecutionResult.h:50
Aws::DataSync::Model::StartTaskExecutionResult
Definition: StartTaskExecutionResult.h:33
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::StartTaskExecutionResult::WithTaskExecutionArn
StartTaskExecutionResult & WithTaskExecutionArn(Aws::String &&value)
Definition: StartTaskExecutionResult.h:74
Aws::DataSync::Model::StartTaskExecutionResult::StartTaskExecutionResult
StartTaskExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::StartTaskExecutionResult::WithTaskExecutionArn
StartTaskExecutionResult & WithTaskExecutionArn(const Aws::String &value)
Definition: StartTaskExecutionResult.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::StartTaskExecutionResult::GetTaskExecutionArn
const Aws::String & GetTaskExecutionArn() const
Definition: StartTaskExecutionResult.h:44
Aws::DataSync::Model::StartTaskExecutionResult::WithTaskExecutionArn
StartTaskExecutionResult & WithTaskExecutionArn(const char *value)
Definition: StartTaskExecutionResult.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::StartTaskExecutionResult::SetTaskExecutionArn
void SetTaskExecutionArn(Aws::String &&value)
Definition: StartTaskExecutionResult.h:56
Aws::DataSync::Model::StartTaskExecutionResult::operator=
StartTaskExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::StartTaskExecutionResult::SetTaskExecutionArn
void SetTaskExecutionArn(const char *value)
Definition: StartTaskExecutionResult.h:62