AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestRepositoryTriggersResult.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/RepositoryTriggerExecutionFailure.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 CodeCommit
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CODECOMMIT_API TestRepositoryTriggersResult();
41
42
44
48 inline const Aws::Vector<Aws::String>& GetSuccessfulExecutions() const{ return m_successfulExecutions; }
49 inline void SetSuccessfulExecutions(const Aws::Vector<Aws::String>& value) { m_successfulExecutions = value; }
50 inline void SetSuccessfulExecutions(Aws::Vector<Aws::String>&& value) { m_successfulExecutions = std::move(value); }
53 inline TestRepositoryTriggersResult& AddSuccessfulExecutions(const Aws::String& value) { m_successfulExecutions.push_back(value); return *this; }
54 inline TestRepositoryTriggersResult& AddSuccessfulExecutions(Aws::String&& value) { m_successfulExecutions.push_back(std::move(value)); return *this; }
55 inline TestRepositoryTriggersResult& AddSuccessfulExecutions(const char* value) { m_successfulExecutions.push_back(value); return *this; }
57
59
63 inline const Aws::Vector<RepositoryTriggerExecutionFailure>& GetFailedExecutions() const{ return m_failedExecutions; }
64 inline void SetFailedExecutions(const Aws::Vector<RepositoryTriggerExecutionFailure>& value) { m_failedExecutions = value; }
65 inline void SetFailedExecutions(Aws::Vector<RepositoryTriggerExecutionFailure>&& value) { m_failedExecutions = std::move(value); }
68 inline TestRepositoryTriggersResult& AddFailedExecutions(const RepositoryTriggerExecutionFailure& value) { m_failedExecutions.push_back(value); return *this; }
69 inline TestRepositoryTriggersResult& AddFailedExecutions(RepositoryTriggerExecutionFailure&& value) { m_failedExecutions.push_back(std::move(value)); return *this; }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline TestRepositoryTriggersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline TestRepositoryTriggersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline TestRepositoryTriggersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Aws::Vector<Aws::String> m_successfulExecutions;
85
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace CodeCommit
93} // namespace Aws
TestRepositoryTriggersResult & AddSuccessfulExecutions(Aws::String &&value)
TestRepositoryTriggersResult & WithRequestId(const Aws::String &value)
AWS_CODECOMMIT_API TestRepositoryTriggersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailedExecutions(const Aws::Vector< RepositoryTriggerExecutionFailure > &value)
TestRepositoryTriggersResult & WithRequestId(Aws::String &&value)
TestRepositoryTriggersResult & WithSuccessfulExecutions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< RepositoryTriggerExecutionFailure > & GetFailedExecutions() const
TestRepositoryTriggersResult & WithFailedExecutions(const Aws::Vector< RepositoryTriggerExecutionFailure > &value)
TestRepositoryTriggersResult & AddSuccessfulExecutions(const char *value)
TestRepositoryTriggersResult & WithFailedExecutions(Aws::Vector< RepositoryTriggerExecutionFailure > &&value)
TestRepositoryTriggersResult & WithSuccessfulExecutions(const Aws::Vector< Aws::String > &value)
TestRepositoryTriggersResult & AddSuccessfulExecutions(const Aws::String &value)
TestRepositoryTriggersResult & AddFailedExecutions(const RepositoryTriggerExecutionFailure &value)
void SetSuccessfulExecutions(Aws::Vector< Aws::String > &&value)
void SetFailedExecutions(Aws::Vector< RepositoryTriggerExecutionFailure > &&value)
const Aws::Vector< Aws::String > & GetSuccessfulExecutions() const
TestRepositoryTriggersResult & WithRequestId(const char *value)
void SetSuccessfulExecutions(const Aws::Vector< Aws::String > &value)
AWS_CODECOMMIT_API TestRepositoryTriggersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestRepositoryTriggersResult & AddFailedExecutions(RepositoryTriggerExecutionFailure &&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