AWS SDK for C++  1.9.160
AWS SDK for C++
ListTestGridSessionActionsResult.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 DeviceFarm
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<TestGridSessionAction>& GetActions() const{ return m_actions; }
41 
45  inline void SetActions(const Aws::Vector<TestGridSessionAction>& value) { m_actions = value; }
46 
50  inline void SetActions(Aws::Vector<TestGridSessionAction>&& value) { m_actions = std::move(value); }
51 
55  inline ListTestGridSessionActionsResult& WithActions(const Aws::Vector<TestGridSessionAction>& value) { SetActions(value); return *this;}
56 
60  inline ListTestGridSessionActionsResult& WithActions(Aws::Vector<TestGridSessionAction>&& value) { SetActions(std::move(value)); return *this;}
61 
65  inline ListTestGridSessionActionsResult& AddActions(const TestGridSessionAction& value) { m_actions.push_back(value); return *this; }
66 
70  inline ListTestGridSessionActionsResult& AddActions(TestGridSessionAction&& value) { m_actions.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListTestGridSessionActionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListTestGridSessionActionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListTestGridSessionActionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace DeviceFarm
117 } // namespace Aws
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::WithNextToken
ListTestGridSessionActionsResult & WithNextToken(const char *value)
Definition: ListTestGridSessionActionsResult.h:106
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::operator=
ListTestGridSessionActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::WithNextToken
ListTestGridSessionActionsResult & WithNextToken(const Aws::String &value)
Definition: ListTestGridSessionActionsResult.h:96
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::AddActions
ListTestGridSessionActionsResult & AddActions(const TestGridSessionAction &value)
Definition: ListTestGridSessionActionsResult.h:65
Aws::DeviceFarm::Model::TestGridSessionAction
Definition: TestGridSessionAction.h:34
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::WithActions
ListTestGridSessionActionsResult & WithActions(const Aws::Vector< TestGridSessionAction > &value)
Definition: ListTestGridSessionActionsResult.h:55
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTestGridSessionActionsResult.h:91
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::WithNextToken
ListTestGridSessionActionsResult & WithNextToken(Aws::String &&value)
Definition: ListTestGridSessionActionsResult.h:101
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::ListTestGridSessionActionsResult
ListTestGridSessionActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::WithActions
ListTestGridSessionActionsResult & WithActions(Aws::Vector< TestGridSessionAction > &&value)
Definition: ListTestGridSessionActionsResult.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTestGridSessionActionsResult.h:86
AWSVector.h
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult
Definition: ListTestGridSessionActionsResult.h:30
TestGridSessionAction.h
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::ListTestGridSessionActionsResult
ListTestGridSessionActionsResult()
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::AddActions
ListTestGridSessionActionsResult & AddActions(TestGridSessionAction &&value)
Definition: ListTestGridSessionActionsResult.h:70
AWSString.h
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::SetActions
void SetActions(Aws::Vector< TestGridSessionAction > &&value)
Definition: ListTestGridSessionActionsResult.h:50
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::SetActions
void SetActions(const Aws::Vector< TestGridSessionAction > &value)
Definition: ListTestGridSessionActionsResult.h:45
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTestGridSessionActionsResult.h:76
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTestGridSessionActionsResult.h:81
Aws::DeviceFarm::Model::ListTestGridSessionActionsResult::GetActions
const Aws::Vector< TestGridSessionAction > & GetActions() const
Definition: ListTestGridSessionActionsResult.h:40