AWS SDK for C++  1.9.104
AWS SDK for C++
StartExecutionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace SFN
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
40 
44  inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; }
45 
49  inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); }
50 
54  inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); }
55 
59  inline StartExecutionResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
60 
64  inline StartExecutionResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
65 
69  inline StartExecutionResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
70 
71 
75  inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
76 
80  inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
81 
85  inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
86 
90  inline StartExecutionResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
91 
95  inline StartExecutionResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_executionArn;
100 
101  Aws::Utils::DateTime m_startDate;
102  };
103 
104 } // namespace Model
105 } // namespace SFN
106 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::StartExecutionResult::SetStartDate
void SetStartDate(Aws::Utils::DateTime &&value)
Definition: StartExecutionResult.h:85
Aws::SFN::Model::StartExecutionResult::operator=
StartExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::StartExecutionResult::WithExecutionArn
StartExecutionResult & WithExecutionArn(Aws::String &&value)
Definition: StartExecutionResult.h:64
Aws::SFN::Model::StartExecutionResult
Definition: StartExecutionResult.h:29
DateTime.h
Aws::SFN::Model::StartExecutionResult::SetExecutionArn
void SetExecutionArn(const Aws::String &value)
Definition: StartExecutionResult.h:44
Aws::SFN::Model::StartExecutionResult::SetExecutionArn
void SetExecutionArn(const char *value)
Definition: StartExecutionResult.h:54
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::StartExecutionResult::WithStartDate
StartExecutionResult & WithStartDate(Aws::Utils::DateTime &&value)
Definition: StartExecutionResult.h:95
SFN_EXPORTS.h
Aws::SFN::Model::StartExecutionResult::GetStartDate
const Aws::Utils::DateTime & GetStartDate() const
Definition: StartExecutionResult.h:75
Aws::SFN::Model::StartExecutionResult::WithExecutionArn
StartExecutionResult & WithExecutionArn(const char *value)
Definition: StartExecutionResult.h:69
Aws::SFN::Model::StartExecutionResult::GetExecutionArn
const Aws::String & GetExecutionArn() const
Definition: StartExecutionResult.h:39
Aws::SFN::Model::StartExecutionResult::SetStartDate
void SetStartDate(const Aws::Utils::DateTime &value)
Definition: StartExecutionResult.h:80
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::StartExecutionResult::WithExecutionArn
StartExecutionResult & WithExecutionArn(const Aws::String &value)
Definition: StartExecutionResult.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::StartExecutionResult::WithStartDate
StartExecutionResult & WithStartDate(const Aws::Utils::DateTime &value)
Definition: StartExecutionResult.h:90
Aws::SFN::Model::StartExecutionResult::StartExecutionResult
StartExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::StartExecutionResult::SetExecutionArn
void SetExecutionArn(Aws::String &&value)
Definition: StartExecutionResult.h:49
Aws::SFN::Model::StartExecutionResult::StartExecutionResult
StartExecutionResult()