AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeBuild {
25namespace Model {
27 public:
28 AWS_CODEBUILD_API DeleteBuildBatchResult() = default;
31
33
36 inline const Aws::String& GetStatusCode() const { return m_statusCode; }
37 template <typename StatusCodeT = Aws::String>
38 void SetStatusCode(StatusCodeT&& value) {
39 m_statusCodeHasBeenSet = true;
40 m_statusCode = std::forward<StatusCodeT>(value);
41 }
42 template <typename StatusCodeT = Aws::String>
43 DeleteBuildBatchResult& WithStatusCode(StatusCodeT&& value) {
44 SetStatusCode(std::forward<StatusCodeT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::Vector<Aws::String>& GetBuildsDeleted() const { return m_buildsDeleted; }
55 template <typename BuildsDeletedT = Aws::Vector<Aws::String>>
56 void SetBuildsDeleted(BuildsDeletedT&& value) {
57 m_buildsDeletedHasBeenSet = true;
58 m_buildsDeleted = std::forward<BuildsDeletedT>(value);
59 }
60 template <typename BuildsDeletedT = Aws::Vector<Aws::String>>
61 DeleteBuildBatchResult& WithBuildsDeleted(BuildsDeletedT&& value) {
62 SetBuildsDeleted(std::forward<BuildsDeletedT>(value));
63 return *this;
64 }
65 template <typename BuildsDeletedT = Aws::String>
66 DeleteBuildBatchResult& AddBuildsDeleted(BuildsDeletedT&& value) {
67 m_buildsDeletedHasBeenSet = true;
68 m_buildsDeleted.emplace_back(std::forward<BuildsDeletedT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Vector<BuildNotDeleted>& GetBuildsNotDeleted() const { return m_buildsNotDeleted; }
79 template <typename BuildsNotDeletedT = Aws::Vector<BuildNotDeleted>>
80 void SetBuildsNotDeleted(BuildsNotDeletedT&& value) {
81 m_buildsNotDeletedHasBeenSet = true;
82 m_buildsNotDeleted = std::forward<BuildsNotDeletedT>(value);
83 }
84 template <typename BuildsNotDeletedT = Aws::Vector<BuildNotDeleted>>
85 DeleteBuildBatchResult& WithBuildsNotDeleted(BuildsNotDeletedT&& value) {
86 SetBuildsNotDeleted(std::forward<BuildsNotDeletedT>(value));
87 return *this;
88 }
89 template <typename BuildsNotDeletedT = BuildNotDeleted>
90 DeleteBuildBatchResult& AddBuildsNotDeleted(BuildsNotDeletedT&& value) {
91 m_buildsNotDeletedHasBeenSet = true;
92 m_buildsNotDeleted.emplace_back(std::forward<BuildsNotDeletedT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::String m_statusCode;
115
116 Aws::Vector<Aws::String> m_buildsDeleted;
117
118 Aws::Vector<BuildNotDeleted> m_buildsNotDeleted;
119
120 Aws::String m_requestId;
121 Aws::Http::HttpResponseCode m_HttpResponseCode;
122 bool m_statusCodeHasBeenSet = false;
123 bool m_buildsDeletedHasBeenSet = false;
124 bool m_buildsNotDeletedHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace CodeBuild
130} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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