7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/ResolvedArtifact.h>
9#include <aws/codebuild/model/StatusType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename RequestedOnT = Aws::Utils::DateTime>
65 m_requestedOnHasBeenSet =
true;
66 m_requestedOn = std::forward<RequestedOnT>(value);
68 template <
typename RequestedOnT = Aws::Utils::DateTime>
87 m_buildStatusHasBeenSet =
true;
88 m_buildStatus = value;
103 template <
typename PrimaryArtifactT = ResolvedArtifact>
105 m_primaryArtifactHasBeenSet =
true;
106 m_primaryArtifact = std::forward<PrimaryArtifactT>(value);
108 template <
typename PrimaryArtifactT = ResolvedArtifact>
122 template <
typename SecondaryArtifactsT = Aws::Vector<ResolvedArtifact>>
124 m_secondaryArtifactsHasBeenSet =
true;
125 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
127 template <
typename SecondaryArtifactsT = Aws::Vector<ResolvedArtifact>>
132 template <
typename SecondaryArtifactsT = ResolvedArtifact>
134 m_secondaryArtifactsHasBeenSet =
true;
135 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
146 ResolvedArtifact m_primaryArtifact;
149 bool m_arnHasBeenSet =
false;
150 bool m_requestedOnHasBeenSet =
false;
151 bool m_buildStatusHasBeenSet =
false;
152 bool m_primaryArtifactHasBeenSet =
false;
153 bool m_secondaryArtifactsHasBeenSet =
false;
AWS_CODEBUILD_API BuildSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResolvedArtifact & GetPrimaryArtifact() const
bool ArnHasBeenSet() const
StatusType GetBuildStatus() const
AWS_CODEBUILD_API BuildSummary(Aws::Utils::Json::JsonView jsonValue)
BuildSummary & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
void SetArn(ArnT &&value)
AWS_CODEBUILD_API BuildSummary()=default
bool SecondaryArtifactsHasBeenSet() const
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
const Aws::Vector< ResolvedArtifact > & GetSecondaryArtifacts() const
BuildSummary & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
const Aws::Utils::DateTime & GetRequestedOn() const
void SetRequestedOn(RequestedOnT &&value)
BuildSummary & WithPrimaryArtifact(PrimaryArtifactT &&value)
const Aws::String & GetArn() const
void SetPrimaryArtifact(PrimaryArtifactT &&value)
bool PrimaryArtifactHasBeenSet() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildSummary & WithArn(ArnT &&value)
bool BuildStatusHasBeenSet() const
BuildSummary & WithBuildStatus(StatusType value)
bool RequestedOnHasBeenSet() const
BuildSummary & WithRequestedOn(RequestedOnT &&value)
void SetBuildStatus(StatusType 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