AWS SDK for C++  1.9.104
AWS SDK for C++
ListStateMachinesResult.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 
37 
38  inline const Aws::Vector<StateMachineListItem>& GetStateMachines() const{ return m_stateMachines; }
39 
40 
41  inline void SetStateMachines(const Aws::Vector<StateMachineListItem>& value) { m_stateMachines = value; }
42 
43 
44  inline void SetStateMachines(Aws::Vector<StateMachineListItem>&& value) { m_stateMachines = std::move(value); }
45 
46 
47  inline ListStateMachinesResult& WithStateMachines(const Aws::Vector<StateMachineListItem>& value) { SetStateMachines(value); return *this;}
48 
49 
50  inline ListStateMachinesResult& WithStateMachines(Aws::Vector<StateMachineListItem>&& value) { SetStateMachines(std::move(value)); return *this;}
51 
52 
53  inline ListStateMachinesResult& AddStateMachines(const StateMachineListItem& value) { m_stateMachines.push_back(value); return *this; }
54 
55 
56  inline ListStateMachinesResult& AddStateMachines(StateMachineListItem&& value) { m_stateMachines.push_back(std::move(value)); return *this; }
57 
58 
67  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
68 
77  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
78 
87  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
88 
97  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
98 
107  inline ListStateMachinesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
117  inline ListStateMachinesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 
127  inline ListStateMachinesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<StateMachineListItem> m_stateMachines;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace SFN
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::ListStateMachinesResult::ListStateMachinesResult
ListStateMachinesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::ListStateMachinesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListStateMachinesResult.h:77
Aws::SFN::Model::ListStateMachinesResult::AddStateMachines
ListStateMachinesResult & AddStateMachines(const StateMachineListItem &value)
Definition: ListStateMachinesResult.h:53
Aws::SFN::Model::ListStateMachinesResult::ListStateMachinesResult
ListStateMachinesResult()
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::ListStateMachinesResult::WithNextToken
ListStateMachinesResult & WithNextToken(const char *value)
Definition: ListStateMachinesResult.h:127
Aws::SFN::Model::ListStateMachinesResult::SetStateMachines
void SetStateMachines(const Aws::Vector< StateMachineListItem > &value)
Definition: ListStateMachinesResult.h:41
SFN_EXPORTS.h
AWSVector.h
Aws::SFN::Model::ListStateMachinesResult::GetStateMachines
const Aws::Vector< StateMachineListItem > & GetStateMachines() const
Definition: ListStateMachinesResult.h:38
Aws::SFN::Model::ListStateMachinesResult::WithStateMachines
ListStateMachinesResult & WithStateMachines(const Aws::Vector< StateMachineListItem > &value)
Definition: ListStateMachinesResult.h:47
AWSString.h
Aws::SFN::Model::ListStateMachinesResult
Definition: ListStateMachinesResult.h:30
StateMachineListItem.h
Aws::SFN::Model::ListStateMachinesResult::WithNextToken
ListStateMachinesResult & WithNextToken(const Aws::String &value)
Definition: ListStateMachinesResult.h:107
Aws::SFN::Model::ListStateMachinesResult::operator=
ListStateMachinesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::ListStateMachinesResult::WithStateMachines
ListStateMachinesResult & WithStateMachines(Aws::Vector< StateMachineListItem > &&value)
Definition: ListStateMachinesResult.h:50
Aws::SFN::Model::ListStateMachinesResult::AddStateMachines
ListStateMachinesResult & AddStateMachines(StateMachineListItem &&value)
Definition: ListStateMachinesResult.h:56
Aws::SFN::Model::ListStateMachinesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListStateMachinesResult.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::ListStateMachinesResult::WithNextToken
ListStateMachinesResult & WithNextToken(Aws::String &&value)
Definition: ListStateMachinesResult.h:117
Aws::SFN::Model::ListStateMachinesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListStateMachinesResult.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::StateMachineListItem
Definition: StateMachineListItem.h:34
Aws::SFN::Model::ListStateMachinesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListStateMachinesResult.h:87
Aws::SFN::Model::ListStateMachinesResult::SetStateMachines
void SetStateMachines(Aws::Vector< StateMachineListItem > &&value)
Definition: ListStateMachinesResult.h:44