AWS SDK for C++  1.9.160
AWS SDK for C++
ListExecutionsResult.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<ExecutionListItem>& GetExecutions() const{ return m_executions; }
41 
45  inline void SetExecutions(const Aws::Vector<ExecutionListItem>& value) { m_executions = value; }
46 
50  inline void SetExecutions(Aws::Vector<ExecutionListItem>&& value) { m_executions = std::move(value); }
51 
55  inline ListExecutionsResult& WithExecutions(const Aws::Vector<ExecutionListItem>& value) { SetExecutions(value); return *this;}
56 
60  inline ListExecutionsResult& WithExecutions(Aws::Vector<ExecutionListItem>&& value) { SetExecutions(std::move(value)); return *this;}
61 
65  inline ListExecutionsResult& AddExecutions(const ExecutionListItem& value) { m_executions.push_back(value); return *this; }
66 
70  inline ListExecutionsResult& AddExecutions(ExecutionListItem&& value) { m_executions.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 ListExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
131  inline ListExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
141  inline ListExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<ExecutionListItem> m_executions;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace SFN
152 } // namespace Aws
Aws::SFN::Model::ListExecutionsResult::WithNextToken
ListExecutionsResult & WithNextToken(const char *value)
Definition: ListExecutionsResult.h:141
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::ListExecutionsResult::WithNextToken
ListExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListExecutionsResult.h:121
Aws::SFN::Model::ListExecutionsResult::AddExecutions
ListExecutionsResult & AddExecutions(ExecutionListItem &&value)
Definition: ListExecutionsResult.h:70
Aws::SFN::Model::ListExecutionsResult::ListExecutionsResult
ListExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::ListExecutionsResult::GetExecutions
const Aws::Vector< ExecutionListItem > & GetExecutions() const
Definition: ListExecutionsResult.h:40
Aws::SFN::Model::ListExecutionsResult::operator=
ListExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::ListExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListExecutionsResult.h:91
Aws::SFN::Model::ListExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListExecutionsResult.h:81
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
SFN_EXPORTS.h
AWSVector.h
Aws::SFN::Model::ListExecutionsResult::WithNextToken
ListExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListExecutionsResult.h:131
Aws::SFN::Model::ListExecutionsResult::SetExecutions
void SetExecutions(Aws::Vector< ExecutionListItem > &&value)
Definition: ListExecutionsResult.h:50
Aws::SFN::Model::ExecutionListItem
Definition: ExecutionListItem.h:34
AWSString.h
Aws::SFN::Model::ListExecutionsResult::ListExecutionsResult
ListExecutionsResult()
Aws::SFN::Model::ListExecutionsResult::AddExecutions
ListExecutionsResult & AddExecutions(const ExecutionListItem &value)
Definition: ListExecutionsResult.h:65
Aws::SFN::Model::ListExecutionsResult
Definition: ListExecutionsResult.h:30
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::ListExecutionsResult::WithExecutions
ListExecutionsResult & WithExecutions(Aws::Vector< ExecutionListItem > &&value)
Definition: ListExecutionsResult.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::ListExecutionsResult::WithExecutions
ListExecutionsResult & WithExecutions(const Aws::Vector< ExecutionListItem > &value)
Definition: ListExecutionsResult.h:55
Aws::SFN::Model::ListExecutionsResult::SetExecutions
void SetExecutions(const Aws::Vector< ExecutionListItem > &value)
Definition: ListExecutionsResult.h:45
Aws::SFN::Model::ListExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListExecutionsResult.h:101
Aws::SFN::Model::ListExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListExecutionsResult.h:111
ExecutionListItem.h