AWS SDK for C++  1.9.104
AWS SDK for C++
CreateStateMachineResult.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& GetStateMachineArn() const{ return m_stateMachineArn; }
40 
44  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
45 
49  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
50 
54  inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
55 
59  inline CreateStateMachineResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
60 
64  inline CreateStateMachineResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
65 
69  inline CreateStateMachineResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
70 
71 
75  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
76 
80  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
81 
85  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
86 
90  inline CreateStateMachineResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
91 
95  inline CreateStateMachineResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_stateMachineArn;
100 
101  Aws::Utils::DateTime m_creationDate;
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::CreateStateMachineResult::WithStateMachineArn
CreateStateMachineResult & WithStateMachineArn(const Aws::String &value)
Definition: CreateStateMachineResult.h:59
Aws::SFN::Model::CreateStateMachineResult::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: CreateStateMachineResult.h:44
DateTime.h
Aws::SFN::Model::CreateStateMachineResult::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: CreateStateMachineResult.h:49
Aws::SFN::Model::CreateStateMachineResult::WithStateMachineArn
CreateStateMachineResult & WithStateMachineArn(Aws::String &&value)
Definition: CreateStateMachineResult.h:64
Aws::SFN::Model::CreateStateMachineResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: CreateStateMachineResult.h:85
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::CreateStateMachineResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: CreateStateMachineResult.h:80
Aws::SFN::Model::CreateStateMachineResult::WithStateMachineArn
CreateStateMachineResult & WithStateMachineArn(const char *value)
Definition: CreateStateMachineResult.h:69
Aws::SFN::Model::CreateStateMachineResult::WithCreationDate
CreateStateMachineResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: CreateStateMachineResult.h:95
Aws::SFN::Model::CreateStateMachineResult::CreateStateMachineResult
CreateStateMachineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SFN::Model::CreateStateMachineResult::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: CreateStateMachineResult.h:54
Aws::SFN::Model::CreateStateMachineResult::CreateStateMachineResult
CreateStateMachineResult()
Aws::SFN::Model::CreateStateMachineResult
Definition: CreateStateMachineResult.h:29
Aws::SFN::Model::CreateStateMachineResult::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: CreateStateMachineResult.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::CreateStateMachineResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: CreateStateMachineResult.h:75
Aws::SFN::Model::CreateStateMachineResult::operator=
CreateStateMachineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::CreateStateMachineResult::WithCreationDate
CreateStateMachineResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: CreateStateMachineResult.h:90