7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/StageState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CodePipeline {
43 template <
typename PipelineNameT = Aws::String>
45 m_pipelineNameHasBeenSet =
true;
46 m_pipelineName = std::forward<PipelineNameT>(value);
48 template <
typename PipelineNameT = Aws::String>
62 m_pipelineVersionHasBeenSet =
true;
63 m_pipelineVersion = value;
77 template <
typename StageStatesT = Aws::Vector<StageState>>
79 m_stageStatesHasBeenSet =
true;
80 m_stageStates = std::forward<StageStatesT>(value);
82 template <
typename StageStatesT = Aws::Vector<StageState>>
87 template <
typename StageStatesT = StageState>
89 m_stageStatesHasBeenSet =
true;
90 m_stageStates.emplace_back(std::forward<StageStatesT>(value));
100 template <
typename CreatedT = Aws::Utils::DateTime>
102 m_createdHasBeenSet =
true;
103 m_created = std::forward<CreatedT>(value);
105 template <
typename CreatedT = Aws::Utils::DateTime>
117 template <
typename UpdatedT = Aws::Utils::DateTime>
119 m_updatedHasBeenSet =
true;
120 m_updated = std::forward<UpdatedT>(value);
122 template <
typename UpdatedT = Aws::Utils::DateTime>
132 template <
typename RequestIdT = Aws::String>
134 m_requestIdHasBeenSet =
true;
135 m_requestId = std::forward<RequestIdT>(value);
137 template <
typename RequestIdT = Aws::String>
146 int m_pipelineVersion{0};
155 bool m_pipelineNameHasBeenSet =
false;
156 bool m_pipelineVersionHasBeenSet =
false;
157 bool m_stageStatesHasBeenSet =
false;
158 bool m_createdHasBeenSet =
false;
159 bool m_updatedHasBeenSet =
false;
160 bool m_requestIdHasBeenSet =
false;
AWS_CODEPIPELINE_API GetPipelineStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPipelineStateResult & WithStageStates(StageStatesT &&value)
const Aws::Utils::DateTime & GetUpdated() const
GetPipelineStateResult & WithCreated(CreatedT &&value)
const Aws::Utils::DateTime & GetCreated() const
GetPipelineStateResult & WithPipelineVersion(int value)
const Aws::String & GetPipelineName() const
int GetPipelineVersion() const
void SetPipelineName(PipelineNameT &&value)
void SetUpdated(UpdatedT &&value)
void SetStageStates(StageStatesT &&value)
GetPipelineStateResult & WithRequestId(RequestIdT &&value)
GetPipelineStateResult & AddStageStates(StageStatesT &&value)
const Aws::Vector< StageState > & GetStageStates() const
void SetCreated(CreatedT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
AWS_CODEPIPELINE_API GetPipelineStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPipelineVersion(int value)
GetPipelineStateResult & WithUpdated(UpdatedT &&value)
AWS_CODEPIPELINE_API GetPipelineStateResult()=default
GetPipelineStateResult & WithPipelineName(PipelineNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue