AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteBuildsResult.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 BatchDeleteBuildsResult();
35
36
38
41 inline const Aws::Vector<Aws::String>& GetBuildsDeleted() const{ return m_buildsDeleted; }
42 inline void SetBuildsDeleted(const Aws::Vector<Aws::String>& value) { m_buildsDeleted = value; }
43 inline void SetBuildsDeleted(Aws::Vector<Aws::String>&& value) { m_buildsDeleted = std::move(value); }
45 inline BatchDeleteBuildsResult& WithBuildsDeleted(Aws::Vector<Aws::String>&& value) { SetBuildsDeleted(std::move(value)); return *this;}
46 inline BatchDeleteBuildsResult& AddBuildsDeleted(const Aws::String& value) { m_buildsDeleted.push_back(value); return *this; }
47 inline BatchDeleteBuildsResult& AddBuildsDeleted(Aws::String&& value) { m_buildsDeleted.push_back(std::move(value)); return *this; }
48 inline BatchDeleteBuildsResult& AddBuildsDeleted(const char* value) { m_buildsDeleted.push_back(value); return *this; }
50
52
55 inline const Aws::Vector<BuildNotDeleted>& GetBuildsNotDeleted() const{ return m_buildsNotDeleted; }
56 inline void SetBuildsNotDeleted(const Aws::Vector<BuildNotDeleted>& value) { m_buildsNotDeleted = value; }
57 inline void SetBuildsNotDeleted(Aws::Vector<BuildNotDeleted>&& value) { m_buildsNotDeleted = std::move(value); }
60 inline BatchDeleteBuildsResult& AddBuildsNotDeleted(const BuildNotDeleted& value) { m_buildsNotDeleted.push_back(value); return *this; }
61 inline BatchDeleteBuildsResult& AddBuildsNotDeleted(BuildNotDeleted&& value) { m_buildsNotDeleted.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchDeleteBuildsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchDeleteBuildsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchDeleteBuildsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<Aws::String> m_buildsDeleted;
77
78 Aws::Vector<BuildNotDeleted> m_buildsNotDeleted;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace CodeBuild
85} // namespace Aws
void SetBuildsNotDeleted(const Aws::Vector< BuildNotDeleted > &value)
BatchDeleteBuildsResult & AddBuildsDeleted(const Aws::String &value)
BatchDeleteBuildsResult & WithBuildsDeleted(Aws::Vector< Aws::String > &&value)
void SetBuildsDeleted(Aws::Vector< Aws::String > &&value)
BatchDeleteBuildsResult & WithRequestId(const Aws::String &value)
void SetBuildsNotDeleted(Aws::Vector< BuildNotDeleted > &&value)
void SetBuildsDeleted(const Aws::Vector< Aws::String > &value)
BatchDeleteBuildsResult & AddBuildsNotDeleted(BuildNotDeleted &&value)
BatchDeleteBuildsResult & WithBuildsNotDeleted(Aws::Vector< BuildNotDeleted > &&value)
BatchDeleteBuildsResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetBuildsDeleted() const
BatchDeleteBuildsResult & AddBuildsDeleted(Aws::String &&value)
BatchDeleteBuildsResult & WithBuildsNotDeleted(const Aws::Vector< BuildNotDeleted > &value)
const Aws::Vector< BuildNotDeleted > & GetBuildsNotDeleted() const
BatchDeleteBuildsResult & AddBuildsDeleted(const char *value)
BatchDeleteBuildsResult & AddBuildsNotDeleted(const BuildNotDeleted &value)
BatchDeleteBuildsResult & WithRequestId(Aws::String &&value)
AWS_CODEBUILD_API BatchDeleteBuildsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEBUILD_API BatchDeleteBuildsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteBuildsResult & WithBuildsDeleted(const Aws::Vector< 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