AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
BatchDeleteBuildsResult.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/BuildNotDeleted.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeBuild {
24namespace Model {
26 public:
27 AWS_CODEBUILD_API BatchDeleteBuildsResult() = default;
30
32
35 inline const Aws::Vector<Aws::String>& GetBuildsDeleted() const { return m_buildsDeleted; }
36 template <typename BuildsDeletedT = Aws::Vector<Aws::String>>
37 void SetBuildsDeleted(BuildsDeletedT&& value) {
38 m_buildsDeletedHasBeenSet = true;
39 m_buildsDeleted = std::forward<BuildsDeletedT>(value);
40 }
41 template <typename BuildsDeletedT = Aws::Vector<Aws::String>>
42 BatchDeleteBuildsResult& WithBuildsDeleted(BuildsDeletedT&& value) {
43 SetBuildsDeleted(std::forward<BuildsDeletedT>(value));
44 return *this;
45 }
46 template <typename BuildsDeletedT = Aws::String>
47 BatchDeleteBuildsResult& AddBuildsDeleted(BuildsDeletedT&& value) {
48 m_buildsDeletedHasBeenSet = true;
49 m_buildsDeleted.emplace_back(std::forward<BuildsDeletedT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<BuildNotDeleted>& GetBuildsNotDeleted() const { return m_buildsNotDeleted; }
59 template <typename BuildsNotDeletedT = Aws::Vector<BuildNotDeleted>>
60 void SetBuildsNotDeleted(BuildsNotDeletedT&& value) {
61 m_buildsNotDeletedHasBeenSet = true;
62 m_buildsNotDeleted = std::forward<BuildsNotDeletedT>(value);
63 }
64 template <typename BuildsNotDeletedT = Aws::Vector<BuildNotDeleted>>
65 BatchDeleteBuildsResult& WithBuildsNotDeleted(BuildsNotDeletedT&& value) {
66 SetBuildsNotDeleted(std::forward<BuildsNotDeletedT>(value));
67 return *this;
68 }
69 template <typename BuildsNotDeletedT = BuildNotDeleted>
70 BatchDeleteBuildsResult& AddBuildsNotDeleted(BuildsNotDeletedT&& value) {
71 m_buildsNotDeletedHasBeenSet = true;
72 m_buildsNotDeleted.emplace_back(std::forward<BuildsNotDeletedT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<Aws::String> m_buildsDeleted;
93
94 Aws::Vector<BuildNotDeleted> m_buildsNotDeleted;
95
96 Aws::String m_requestId;
97 bool m_buildsDeletedHasBeenSet = false;
98 bool m_buildsNotDeletedHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace CodeBuild
104} // namespace Aws
BatchDeleteBuildsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetBuildsDeleted() const
AWS_CODEBUILD_API BatchDeleteBuildsResult()=default
const Aws::Vector< BuildNotDeleted > & GetBuildsNotDeleted() const
BatchDeleteBuildsResult & AddBuildsNotDeleted(BuildsNotDeletedT &&value)
BatchDeleteBuildsResult & AddBuildsDeleted(BuildsDeletedT &&value)
BatchDeleteBuildsResult & WithBuildsNotDeleted(BuildsNotDeletedT &&value)
AWS_CODEBUILD_API BatchDeleteBuildsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteBuildsResult & WithBuildsDeleted(BuildsDeletedT &&value)
AWS_CODEBUILD_API BatchDeleteBuildsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue