AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteBuildBatchResult.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 DeleteBuildBatchResult() = default;
30
32
35 inline const Aws::String& GetStatusCode() const { return m_statusCode; }
36 template <typename StatusCodeT = Aws::String>
37 void SetStatusCode(StatusCodeT&& value) {
38 m_statusCodeHasBeenSet = true;
39 m_statusCode = std::forward<StatusCodeT>(value);
40 }
41 template <typename StatusCodeT = Aws::String>
42 DeleteBuildBatchResult& WithStatusCode(StatusCodeT&& value) {
43 SetStatusCode(std::forward<StatusCodeT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::Vector<Aws::String>& GetBuildsDeleted() const { return m_buildsDeleted; }
54 template <typename BuildsDeletedT = Aws::Vector<Aws::String>>
55 void SetBuildsDeleted(BuildsDeletedT&& value) {
56 m_buildsDeletedHasBeenSet = true;
57 m_buildsDeleted = std::forward<BuildsDeletedT>(value);
58 }
59 template <typename BuildsDeletedT = Aws::Vector<Aws::String>>
60 DeleteBuildBatchResult& WithBuildsDeleted(BuildsDeletedT&& value) {
61 SetBuildsDeleted(std::forward<BuildsDeletedT>(value));
62 return *this;
63 }
64 template <typename BuildsDeletedT = Aws::String>
65 DeleteBuildBatchResult& AddBuildsDeleted(BuildsDeletedT&& value) {
66 m_buildsDeletedHasBeenSet = true;
67 m_buildsDeleted.emplace_back(std::forward<BuildsDeletedT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::Vector<BuildNotDeleted>& GetBuildsNotDeleted() const { return m_buildsNotDeleted; }
78 template <typename BuildsNotDeletedT = Aws::Vector<BuildNotDeleted>>
79 void SetBuildsNotDeleted(BuildsNotDeletedT&& value) {
80 m_buildsNotDeletedHasBeenSet = true;
81 m_buildsNotDeleted = std::forward<BuildsNotDeletedT>(value);
82 }
83 template <typename BuildsNotDeletedT = Aws::Vector<BuildNotDeleted>>
84 DeleteBuildBatchResult& WithBuildsNotDeleted(BuildsNotDeletedT&& value) {
85 SetBuildsNotDeleted(std::forward<BuildsNotDeletedT>(value));
86 return *this;
87 }
88 template <typename BuildsNotDeletedT = BuildNotDeleted>
89 DeleteBuildBatchResult& AddBuildsNotDeleted(BuildsNotDeletedT&& value) {
90 m_buildsNotDeletedHasBeenSet = true;
91 m_buildsNotDeleted.emplace_back(std::forward<BuildsNotDeletedT>(value));
92 return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template <typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) {
101 m_requestIdHasBeenSet = true;
102 m_requestId = std::forward<RequestIdT>(value);
103 }
104 template <typename RequestIdT = Aws::String>
106 SetRequestId(std::forward<RequestIdT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_statusCode;
112
113 Aws::Vector<Aws::String> m_buildsDeleted;
114
115 Aws::Vector<BuildNotDeleted> m_buildsNotDeleted;
116
117 Aws::String m_requestId;
118 bool m_statusCodeHasBeenSet = false;
119 bool m_buildsDeletedHasBeenSet = false;
120 bool m_buildsNotDeletedHasBeenSet = false;
121 bool m_requestIdHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace CodeBuild
126} // namespace Aws
AWS_CODEBUILD_API DeleteBuildBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBuildBatchResult & WithStatusCode(StatusCodeT &&value)
DeleteBuildBatchResult & WithBuildsNotDeleted(BuildsNotDeletedT &&value)
void SetBuildsNotDeleted(BuildsNotDeletedT &&value)
AWS_CODEBUILD_API DeleteBuildBatchResult()=default
DeleteBuildBatchResult & AddBuildsNotDeleted(BuildsNotDeletedT &&value)
const Aws::Vector< BuildNotDeleted > & GetBuildsNotDeleted() const
DeleteBuildBatchResult & WithBuildsDeleted(BuildsDeletedT &&value)
AWS_CODEBUILD_API DeleteBuildBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBuildBatchResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetBuildsDeleted() const
DeleteBuildBatchResult & AddBuildsDeleted(BuildsDeletedT &&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