AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetBuildsResult.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/Build.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 BatchGetBuildsResult();
35
36
38
41 inline const Aws::Vector<Build>& GetBuilds() const{ return m_builds; }
42 inline void SetBuilds(const Aws::Vector<Build>& value) { m_builds = value; }
43 inline void SetBuilds(Aws::Vector<Build>&& value) { m_builds = std::move(value); }
44 inline BatchGetBuildsResult& WithBuilds(const Aws::Vector<Build>& value) { SetBuilds(value); return *this;}
45 inline BatchGetBuildsResult& WithBuilds(Aws::Vector<Build>&& value) { SetBuilds(std::move(value)); return *this;}
46 inline BatchGetBuildsResult& AddBuilds(const Build& value) { m_builds.push_back(value); return *this; }
47 inline BatchGetBuildsResult& AddBuilds(Build&& value) { m_builds.push_back(std::move(value)); return *this; }
49
51
54 inline const Aws::Vector<Aws::String>& GetBuildsNotFound() const{ return m_buildsNotFound; }
55 inline void SetBuildsNotFound(const Aws::Vector<Aws::String>& value) { m_buildsNotFound = value; }
56 inline void SetBuildsNotFound(Aws::Vector<Aws::String>&& value) { m_buildsNotFound = std::move(value); }
58 inline BatchGetBuildsResult& WithBuildsNotFound(Aws::Vector<Aws::String>&& value) { SetBuildsNotFound(std::move(value)); return *this;}
59 inline BatchGetBuildsResult& AddBuildsNotFound(const Aws::String& value) { m_buildsNotFound.push_back(value); return *this; }
60 inline BatchGetBuildsResult& AddBuildsNotFound(Aws::String&& value) { m_buildsNotFound.push_back(std::move(value)); return *this; }
61 inline BatchGetBuildsResult& AddBuildsNotFound(const char* value) { m_buildsNotFound.push_back(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 BatchGetBuildsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetBuildsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetBuildsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<Build> m_builds;
77
78 Aws::Vector<Aws::String> m_buildsNotFound;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace CodeBuild
85} // namespace Aws
void SetBuilds(Aws::Vector< Build > &&value)
BatchGetBuildsResult & AddBuildsNotFound(const char *value)
BatchGetBuildsResult & WithBuilds(const Aws::Vector< Build > &value)
BatchGetBuildsResult & WithRequestId(Aws::String &&value)
AWS_CODEBUILD_API BatchGetBuildsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetBuildsResult & WithRequestId(const char *value)
BatchGetBuildsResult & AddBuildsNotFound(Aws::String &&value)
BatchGetBuildsResult & WithRequestId(const Aws::String &value)
BatchGetBuildsResult & WithBuilds(Aws::Vector< Build > &&value)
void SetBuilds(const Aws::Vector< Build > &value)
void SetBuildsNotFound(Aws::Vector< Aws::String > &&value)
BatchGetBuildsResult & WithBuildsNotFound(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetBuildsNotFound() const
BatchGetBuildsResult & WithBuildsNotFound(const Aws::Vector< Aws::String > &value)
BatchGetBuildsResult & AddBuilds(const Build &value)
BatchGetBuildsResult & AddBuildsNotFound(const Aws::String &value)
void SetBuildsNotFound(const Aws::Vector< Aws::String > &value)
BatchGetBuildsResult & AddBuilds(Build &&value)
AWS_CODEBUILD_API BatchGetBuildsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Build > & GetBuilds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue