AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BuildGroup.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codebuild/model/BuildSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodeBuild
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_CODEBUILD_API BuildGroup();
39 AWS_CODEBUILD_API BuildGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEBUILD_API BuildGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
49 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
50 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
51 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
52 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
53 inline BuildGroup& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
54 inline BuildGroup& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
55 inline BuildGroup& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetDependsOn() const{ return m_dependsOn; }
64 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
65 inline void SetDependsOn(const Aws::Vector<Aws::String>& value) { m_dependsOnHasBeenSet = true; m_dependsOn = value; }
66 inline void SetDependsOn(Aws::Vector<Aws::String>&& value) { m_dependsOnHasBeenSet = true; m_dependsOn = std::move(value); }
67 inline BuildGroup& WithDependsOn(const Aws::Vector<Aws::String>& value) { SetDependsOn(value); return *this;}
68 inline BuildGroup& WithDependsOn(Aws::Vector<Aws::String>&& value) { SetDependsOn(std::move(value)); return *this;}
69 inline BuildGroup& AddDependsOn(const Aws::String& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(value); return *this; }
70 inline BuildGroup& AddDependsOn(Aws::String&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(std::move(value)); return *this; }
71 inline BuildGroup& AddDependsOn(const char* value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(value); return *this; }
73
75
78 inline bool GetIgnoreFailure() const{ return m_ignoreFailure; }
79 inline bool IgnoreFailureHasBeenSet() const { return m_ignoreFailureHasBeenSet; }
80 inline void SetIgnoreFailure(bool value) { m_ignoreFailureHasBeenSet = true; m_ignoreFailure = value; }
81 inline BuildGroup& WithIgnoreFailure(bool value) { SetIgnoreFailure(value); return *this;}
83
85
89 inline const BuildSummary& GetCurrentBuildSummary() const{ return m_currentBuildSummary; }
90 inline bool CurrentBuildSummaryHasBeenSet() const { return m_currentBuildSummaryHasBeenSet; }
91 inline void SetCurrentBuildSummary(const BuildSummary& value) { m_currentBuildSummaryHasBeenSet = true; m_currentBuildSummary = value; }
92 inline void SetCurrentBuildSummary(BuildSummary&& value) { m_currentBuildSummaryHasBeenSet = true; m_currentBuildSummary = std::move(value); }
93 inline BuildGroup& WithCurrentBuildSummary(const BuildSummary& value) { SetCurrentBuildSummary(value); return *this;}
94 inline BuildGroup& WithCurrentBuildSummary(BuildSummary&& value) { SetCurrentBuildSummary(std::move(value)); return *this;}
96
98
102 inline const Aws::Vector<BuildSummary>& GetPriorBuildSummaryList() const{ return m_priorBuildSummaryList; }
103 inline bool PriorBuildSummaryListHasBeenSet() const { return m_priorBuildSummaryListHasBeenSet; }
104 inline void SetPriorBuildSummaryList(const Aws::Vector<BuildSummary>& value) { m_priorBuildSummaryListHasBeenSet = true; m_priorBuildSummaryList = value; }
105 inline void SetPriorBuildSummaryList(Aws::Vector<BuildSummary>&& value) { m_priorBuildSummaryListHasBeenSet = true; m_priorBuildSummaryList = std::move(value); }
108 inline BuildGroup& AddPriorBuildSummaryList(const BuildSummary& value) { m_priorBuildSummaryListHasBeenSet = true; m_priorBuildSummaryList.push_back(value); return *this; }
109 inline BuildGroup& AddPriorBuildSummaryList(BuildSummary&& value) { m_priorBuildSummaryListHasBeenSet = true; m_priorBuildSummaryList.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_identifier;
114 bool m_identifierHasBeenSet = false;
115
116 Aws::Vector<Aws::String> m_dependsOn;
117 bool m_dependsOnHasBeenSet = false;
118
119 bool m_ignoreFailure;
120 bool m_ignoreFailureHasBeenSet = false;
121
122 BuildSummary m_currentBuildSummary;
123 bool m_currentBuildSummaryHasBeenSet = false;
124
125 Aws::Vector<BuildSummary> m_priorBuildSummaryList;
126 bool m_priorBuildSummaryListHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace CodeBuild
131} // namespace Aws
BuildGroup & AddDependsOn(const Aws::String &value)
Definition BuildGroup.h:69
BuildGroup & WithIdentifier(const char *value)
Definition BuildGroup.h:55
const BuildSummary & GetCurrentBuildSummary() const
Definition BuildGroup.h:89
BuildGroup & WithDependsOn(const Aws::Vector< Aws::String > &value)
Definition BuildGroup.h:67
AWS_CODEBUILD_API BuildGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
BuildGroup & AddDependsOn(const char *value)
Definition BuildGroup.h:71
void SetIdentifier(const Aws::String &value)
Definition BuildGroup.h:50
void SetPriorBuildSummaryList(Aws::Vector< BuildSummary > &&value)
Definition BuildGroup.h:105
BuildGroup & WithPriorBuildSummaryList(Aws::Vector< BuildSummary > &&value)
Definition BuildGroup.h:107
BuildGroup & WithCurrentBuildSummary(BuildSummary &&value)
Definition BuildGroup.h:94
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPriorBuildSummaryList(const Aws::Vector< BuildSummary > &value)
Definition BuildGroup.h:104
const Aws::Vector< Aws::String > & GetDependsOn() const
Definition BuildGroup.h:63
void SetIdentifier(Aws::String &&value)
Definition BuildGroup.h:51
void SetCurrentBuildSummary(BuildSummary &&value)
Definition BuildGroup.h:92
const Aws::Vector< BuildSummary > & GetPriorBuildSummaryList() const
Definition BuildGroup.h:102
void SetIgnoreFailure(bool value)
Definition BuildGroup.h:80
BuildGroup & WithIdentifier(Aws::String &&value)
Definition BuildGroup.h:54
void SetIdentifier(const char *value)
Definition BuildGroup.h:52
const Aws::String & GetIdentifier() const
Definition BuildGroup.h:48
bool PriorBuildSummaryListHasBeenSet() const
Definition BuildGroup.h:103
AWS_CODEBUILD_API BuildGroup()
BuildGroup & AddPriorBuildSummaryList(const BuildSummary &value)
Definition BuildGroup.h:108
void SetCurrentBuildSummary(const BuildSummary &value)
Definition BuildGroup.h:91
BuildGroup & WithDependsOn(Aws::Vector< Aws::String > &&value)
Definition BuildGroup.h:68
BuildGroup & WithCurrentBuildSummary(const BuildSummary &value)
Definition BuildGroup.h:93
AWS_CODEBUILD_API BuildGroup(Aws::Utils::Json::JsonView jsonValue)
BuildGroup & AddDependsOn(Aws::String &&value)
Definition BuildGroup.h:70
BuildGroup & WithPriorBuildSummaryList(const Aws::Vector< BuildSummary > &value)
Definition BuildGroup.h:106
BuildGroup & AddPriorBuildSummaryList(BuildSummary &&value)
Definition BuildGroup.h:109
BuildGroup & WithIgnoreFailure(bool value)
Definition BuildGroup.h:81
bool CurrentBuildSummaryHasBeenSet() const
Definition BuildGroup.h:90
void SetDependsOn(const Aws::Vector< Aws::String > &value)
Definition BuildGroup.h:65
BuildGroup & WithIdentifier(const Aws::String &value)
Definition BuildGroup.h:53
void SetDependsOn(Aws::Vector< Aws::String > &&value)
Definition BuildGroup.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue