AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteBuildBatchResult.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/BuildNotDeleted.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeBuild
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODEBUILD_API DeleteBuildBatchResult();
35
36
38
41 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
42 inline void SetStatusCode(const Aws::String& value) { m_statusCode = value; }
43 inline void SetStatusCode(Aws::String&& value) { m_statusCode = std::move(value); }
44 inline void SetStatusCode(const char* value) { m_statusCode.assign(value); }
45 inline DeleteBuildBatchResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
46 inline DeleteBuildBatchResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
47 inline DeleteBuildBatchResult& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
49
51
55 inline const Aws::Vector<Aws::String>& GetBuildsDeleted() const{ return m_buildsDeleted; }
56 inline void SetBuildsDeleted(const Aws::Vector<Aws::String>& value) { m_buildsDeleted = value; }
57 inline void SetBuildsDeleted(Aws::Vector<Aws::String>&& value) { m_buildsDeleted = std::move(value); }
59 inline DeleteBuildBatchResult& WithBuildsDeleted(Aws::Vector<Aws::String>&& value) { SetBuildsDeleted(std::move(value)); return *this;}
60 inline DeleteBuildBatchResult& AddBuildsDeleted(const Aws::String& value) { m_buildsDeleted.push_back(value); return *this; }
61 inline DeleteBuildBatchResult& AddBuildsDeleted(Aws::String&& value) { m_buildsDeleted.push_back(std::move(value)); return *this; }
62 inline DeleteBuildBatchResult& AddBuildsDeleted(const char* value) { m_buildsDeleted.push_back(value); return *this; }
64
66
70 inline const Aws::Vector<BuildNotDeleted>& GetBuildsNotDeleted() const{ return m_buildsNotDeleted; }
71 inline void SetBuildsNotDeleted(const Aws::Vector<BuildNotDeleted>& value) { m_buildsNotDeleted = value; }
72 inline void SetBuildsNotDeleted(Aws::Vector<BuildNotDeleted>&& value) { m_buildsNotDeleted = std::move(value); }
75 inline DeleteBuildBatchResult& AddBuildsNotDeleted(const BuildNotDeleted& value) { m_buildsNotDeleted.push_back(value); return *this; }
76 inline DeleteBuildBatchResult& AddBuildsNotDeleted(BuildNotDeleted&& value) { m_buildsNotDeleted.push_back(std::move(value)); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline DeleteBuildBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline DeleteBuildBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline DeleteBuildBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_statusCode;
92
93 Aws::Vector<Aws::String> m_buildsDeleted;
94
95 Aws::Vector<BuildNotDeleted> m_buildsNotDeleted;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace CodeBuild
102} // namespace Aws
DeleteBuildBatchResult & AddBuildsDeleted(const char *value)
DeleteBuildBatchResult & WithBuildsNotDeleted(Aws::Vector< BuildNotDeleted > &&value)
void SetBuildsNotDeleted(Aws::Vector< BuildNotDeleted > &&value)
void SetBuildsDeleted(Aws::Vector< Aws::String > &&value)
void SetBuildsNotDeleted(const Aws::Vector< BuildNotDeleted > &value)
DeleteBuildBatchResult & WithBuildsDeleted(Aws::Vector< Aws::String > &&value)
AWS_CODEBUILD_API DeleteBuildBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBuildBatchResult & AddBuildsDeleted(Aws::String &&value)
DeleteBuildBatchResult & WithRequestId(const char *value)
DeleteBuildBatchResult & WithBuildsDeleted(const Aws::Vector< Aws::String > &value)
DeleteBuildBatchResult & WithRequestId(const Aws::String &value)
DeleteBuildBatchResult & WithBuildsNotDeleted(const Aws::Vector< BuildNotDeleted > &value)
const Aws::Vector< BuildNotDeleted > & GetBuildsNotDeleted() const
AWS_CODEBUILD_API DeleteBuildBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBuildBatchResult & WithStatusCode(const Aws::String &value)
DeleteBuildBatchResult & AddBuildsNotDeleted(const BuildNotDeleted &value)
DeleteBuildBatchResult & AddBuildsNotDeleted(BuildNotDeleted &&value)
void SetBuildsDeleted(const Aws::Vector< Aws::String > &value)
DeleteBuildBatchResult & WithStatusCode(const char *value)
DeleteBuildBatchResult & AddBuildsDeleted(const Aws::String &value)
const Aws::Vector< Aws::String > & GetBuildsDeleted() const
DeleteBuildBatchResult & WithStatusCode(Aws::String &&value)
DeleteBuildBatchResult & WithRequestId(Aws::String &&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