AWS SDK for C++  1.9.104
AWS SDK for C++
GetExecutionHistoryResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SFN
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<HistoryEvent>& GetEvents() const{ return m_events; }
41 
45  inline void SetEvents(const Aws::Vector<HistoryEvent>& value) { m_events = value; }
46 
50  inline void SetEvents(Aws::Vector<HistoryEvent>&& value) { m_events = std::move(value); }
51 
55  inline GetExecutionHistoryResult& WithEvents(const Aws::Vector<HistoryEvent>& value) { SetEvents(value); return *this;}
56 
60  inline GetExecutionHistoryResult& WithEvents(Aws::Vector<HistoryEvent>&& value) { SetEvents(std::move(value)); return *this;}
61 
65  inline GetExecutionHistoryResult& AddEvents(const HistoryEvent& value) { m_events.push_back(value); return *this; }
66 
70  inline GetExecutionHistoryResult& AddEvents(HistoryEvent&& value) { m_events.push_back(std::move(value)); return *this; }
71 
72 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
121  inline GetExecutionHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
131  inline GetExecutionHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
141  inline GetExecutionHistoryResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<HistoryEvent> m_events;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace SFN
152 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::GetExecutionHistoryResult::GetEvents
const Aws::Vector< HistoryEvent > & GetEvents() const
Definition: GetExecutionHistoryResult.h:40
Aws::SFN::Model::GetExecutionHistoryResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetExecutionHistoryResult.h:101
Aws::SFN::Model::GetExecutionHistoryResult::AddEvents
GetExecutionHistoryResult & AddEvents(HistoryEvent &&value)
Definition: GetExecutionHistoryResult.h:70
Aws::SFN::Model::GetExecutionHistoryResult::SetEvents
void SetEvents(Aws::Vector< HistoryEvent > &&value)
Definition: GetExecutionHistoryResult.h:50
Aws::SFN::Model::GetExecutionHistoryResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetExecutionHistoryResult.h:111
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::GetExecutionHistoryResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetExecutionHistoryResult.h:91
SFN_EXPORTS.h
AWSVector.h
Aws::SFN::Model::GetExecutionHistoryResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetExecutionHistoryResult.h:81
Aws::SFN::Model::GetExecutionHistoryResult::WithNextToken
GetExecutionHistoryResult & WithNextToken(const char *value)
Definition: GetExecutionHistoryResult.h:141
Aws::SFN::Model::GetExecutionHistoryResult::GetExecutionHistoryResult
GetExecutionHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SFN::Model::GetExecutionHistoryResult::WithNextToken
GetExecutionHistoryResult & WithNextToken(Aws::String &&value)
Definition: GetExecutionHistoryResult.h:131
Aws::SFN::Model::GetExecutionHistoryResult::WithNextToken
GetExecutionHistoryResult & WithNextToken(const Aws::String &value)
Definition: GetExecutionHistoryResult.h:121
Aws::SFN::Model::GetExecutionHistoryResult::operator=
GetExecutionHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::GetExecutionHistoryResult::AddEvents
GetExecutionHistoryResult & AddEvents(const HistoryEvent &value)
Definition: GetExecutionHistoryResult.h:65
HistoryEvent.h
Aws::SFN::Model::GetExecutionHistoryResult::WithEvents
GetExecutionHistoryResult & WithEvents(const Aws::Vector< HistoryEvent > &value)
Definition: GetExecutionHistoryResult.h:55
Aws::SFN::Model::GetExecutionHistoryResult::GetExecutionHistoryResult
GetExecutionHistoryResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::GetExecutionHistoryResult::WithEvents
GetExecutionHistoryResult & WithEvents(Aws::Vector< HistoryEvent > &&value)
Definition: GetExecutionHistoryResult.h:60
Aws::SFN::Model::GetExecutionHistoryResult::SetEvents
void SetEvents(const Aws::Vector< HistoryEvent > &value)
Definition: GetExecutionHistoryResult.h:45
Aws::SFN::Model::HistoryEvent
Definition: HistoryEvent.h:63
Aws::SFN::Model::GetExecutionHistoryResult
Definition: GetExecutionHistoryResult.h:30