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