AWS SDK for C++  1.9.108
AWS SDK for C++
ListActionExecutionsResult.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 CodePipeline
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ActionExecutionDetail>& GetActionExecutionDetails() const{ return m_actionExecutionDetails; }
41 
45  inline void SetActionExecutionDetails(const Aws::Vector<ActionExecutionDetail>& value) { m_actionExecutionDetails = value; }
46 
50  inline void SetActionExecutionDetails(Aws::Vector<ActionExecutionDetail>&& value) { m_actionExecutionDetails = std::move(value); }
51 
55  inline ListActionExecutionsResult& WithActionExecutionDetails(const Aws::Vector<ActionExecutionDetail>& value) { SetActionExecutionDetails(value); return *this;}
56 
60  inline ListActionExecutionsResult& WithActionExecutionDetails(Aws::Vector<ActionExecutionDetail>&& value) { SetActionExecutionDetails(std::move(value)); return *this;}
61 
65  inline ListActionExecutionsResult& AddActionExecutionDetails(const ActionExecutionDetail& value) { m_actionExecutionDetails.push_back(value); return *this; }
66 
70  inline ListActionExecutionsResult& AddActionExecutionDetails(ActionExecutionDetail&& value) { m_actionExecutionDetails.push_back(std::move(value)); return *this; }
71 
72 
79  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
111  inline ListActionExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 
119  inline ListActionExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
127  inline ListActionExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<ActionExecutionDetail> m_actionExecutionDetails;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace CodePipeline
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodePipeline::Model::ListActionExecutionsResult::WithActionExecutionDetails
ListActionExecutionsResult & WithActionExecutionDetails(const Aws::Vector< ActionExecutionDetail > &value)
Definition: ListActionExecutionsResult.h:55
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ListActionExecutionsResult::GetActionExecutionDetails
const Aws::Vector< ActionExecutionDetail > & GetActionExecutionDetails() const
Definition: ListActionExecutionsResult.h:40
Aws::CodePipeline::Model::ListActionExecutionsResult::WithNextToken
ListActionExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListActionExecutionsResult.h:111
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ListActionExecutionsResult::WithNextToken
ListActionExecutionsResult & WithNextToken(const char *value)
Definition: ListActionExecutionsResult.h:127
ActionExecutionDetail.h
Aws::CodePipeline::Model::ListActionExecutionsResult::operator=
ListActionExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::ListActionExecutionsResult::WithNextToken
ListActionExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListActionExecutionsResult.h:119
Aws::CodePipeline::Model::ListActionExecutionsResult::ListActionExecutionsResult
ListActionExecutionsResult()
Aws::CodePipeline::Model::ListActionExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListActionExecutionsResult.h:95
Aws::CodePipeline::Model::ListActionExecutionsResult::SetActionExecutionDetails
void SetActionExecutionDetails(Aws::Vector< ActionExecutionDetail > &&value)
Definition: ListActionExecutionsResult.h:50
Aws::CodePipeline::Model::ListActionExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListActionExecutionsResult.h:79
AWSString.h
Aws::CodePipeline::Model::ListActionExecutionsResult::AddActionExecutionDetails
ListActionExecutionsResult & AddActionExecutionDetails(ActionExecutionDetail &&value)
Definition: ListActionExecutionsResult.h:70
Aws::CodePipeline::Model::ListActionExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListActionExecutionsResult.h:87
Aws::CodePipeline::Model::ListActionExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListActionExecutionsResult.h:103
Aws::CodePipeline::Model::ListActionExecutionsResult::SetActionExecutionDetails
void SetActionExecutionDetails(const Aws::Vector< ActionExecutionDetail > &value)
Definition: ListActionExecutionsResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ListActionExecutionsResult::AddActionExecutionDetails
ListActionExecutionsResult & AddActionExecutionDetails(const ActionExecutionDetail &value)
Definition: ListActionExecutionsResult.h:65
Aws::CodePipeline::Model::ListActionExecutionsResult
Definition: ListActionExecutionsResult.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::ActionExecutionDetail
Definition: ActionExecutionDetail.h:38
Aws::CodePipeline::Model::ListActionExecutionsResult::WithActionExecutionDetails
ListActionExecutionsResult & WithActionExecutionDetails(Aws::Vector< ActionExecutionDetail > &&value)
Definition: ListActionExecutionsResult.h:60
Aws::CodePipeline::Model::ListActionExecutionsResult::ListActionExecutionsResult
ListActionExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)