AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeActivityResult.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 DescribeActivityResult& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;}
60 
64  inline DescribeActivityResult& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;}
65 
69  inline DescribeActivityResult& WithActivityArn(const char* value) { SetActivityArn(value); return *this;}
70 
71 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
92  inline void SetName(const Aws::String& value) { m_name = value; }
93 
103  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
104 
114  inline void SetName(const char* value) { m_name.assign(value); }
115 
125  inline DescribeActivityResult& WithName(const Aws::String& value) { SetName(value); return *this;}
126 
136  inline DescribeActivityResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
137 
147  inline DescribeActivityResult& WithName(const char* value) { SetName(value); return *this;}
148 
149 
153  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
154 
158  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
159 
163  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
164 
168  inline DescribeActivityResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
169 
173  inline DescribeActivityResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
174 
175  private:
176 
177  Aws::String m_activityArn;
178 
179  Aws::String m_name;
180 
181  Aws::Utils::DateTime m_creationDate;
182  };
183 
184 } // namespace Model
185 } // namespace SFN
186 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SFN::Model::DescribeActivityResult::WithActivityArn
DescribeActivityResult & WithActivityArn(const char *value)
Definition: DescribeActivityResult.h:69
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::DescribeActivityResult::operator=
DescribeActivityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::DescribeActivityResult::SetActivityArn
void SetActivityArn(const char *value)
Definition: DescribeActivityResult.h:54
Aws::SFN::Model::DescribeActivityResult::SetName
void SetName(const char *value)
Definition: DescribeActivityResult.h:114
DateTime.h
Aws::SFN::Model::DescribeActivityResult::SetActivityArn
void SetActivityArn(const Aws::String &value)
Definition: DescribeActivityResult.h:44
Aws::SFN::Model::DescribeActivityResult::GetName
const Aws::String & GetName() const
Definition: DescribeActivityResult.h:81
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::DescribeActivityResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeActivityResult.h:103
Aws::SFN::Model::DescribeActivityResult::WithName
DescribeActivityResult & WithName(const char *value)
Definition: DescribeActivityResult.h:147
Aws::SFN::Model::DescribeActivityResult::DescribeActivityResult
DescribeActivityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::DescribeActivityResult
Definition: DescribeActivityResult.h:29
Aws::SFN::Model::DescribeActivityResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeActivityResult.h:92
Aws::SFN::Model::DescribeActivityResult::WithActivityArn
DescribeActivityResult & WithActivityArn(Aws::String &&value)
Definition: DescribeActivityResult.h:64
Aws::SFN::Model::DescribeActivityResult::WithActivityArn
DescribeActivityResult & WithActivityArn(const Aws::String &value)
Definition: DescribeActivityResult.h:59
AWSString.h
Aws::SFN::Model::DescribeActivityResult::SetActivityArn
void SetActivityArn(Aws::String &&value)
Definition: DescribeActivityResult.h:49
Aws::SFN::Model::DescribeActivityResult::WithCreationDate
DescribeActivityResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeActivityResult.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::DescribeActivityResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeActivityResult.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::DescribeActivityResult::WithName
DescribeActivityResult & WithName(Aws::String &&value)
Definition: DescribeActivityResult.h:136
Aws::SFN::Model::DescribeActivityResult::DescribeActivityResult
DescribeActivityResult()
Aws::SFN::Model::DescribeActivityResult::WithName
DescribeActivityResult & WithName(const Aws::String &value)
Definition: DescribeActivityResult.h:125
Aws::SFN::Model::DescribeActivityResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeActivityResult.h:158
Aws::SFN::Model::DescribeActivityResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeActivityResult.h:163
Aws::SFN::Model::DescribeActivityResult::WithCreationDate
DescribeActivityResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeActivityResult.h:168
Aws::SFN::Model::DescribeActivityResult::GetActivityArn
const Aws::String & GetActivityArn() const
Definition: DescribeActivityResult.h:39