AWS SDK for C++  1.8.152
AWS SDK for C++
TestRepositoryTriggersResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace CodeCommit
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<Aws::String>& GetSuccessfulExecutions() const{ return m_successfulExecutions; }
48 
53  inline void SetSuccessfulExecutions(const Aws::Vector<Aws::String>& value) { m_successfulExecutions = value; }
54 
59  inline void SetSuccessfulExecutions(Aws::Vector<Aws::String>&& value) { m_successfulExecutions = std::move(value); }
60 
65  inline TestRepositoryTriggersResult& WithSuccessfulExecutions(const Aws::Vector<Aws::String>& value) { SetSuccessfulExecutions(value); return *this;}
66 
71  inline TestRepositoryTriggersResult& WithSuccessfulExecutions(Aws::Vector<Aws::String>&& value) { SetSuccessfulExecutions(std::move(value)); return *this;}
72 
77  inline TestRepositoryTriggersResult& AddSuccessfulExecutions(const Aws::String& value) { m_successfulExecutions.push_back(value); return *this; }
78 
83  inline TestRepositoryTriggersResult& AddSuccessfulExecutions(Aws::String&& value) { m_successfulExecutions.push_back(std::move(value)); return *this; }
84 
89  inline TestRepositoryTriggersResult& AddSuccessfulExecutions(const char* value) { m_successfulExecutions.push_back(value); return *this; }
90 
91 
96  inline const Aws::Vector<RepositoryTriggerExecutionFailure>& GetFailedExecutions() const{ return m_failedExecutions; }
97 
102  inline void SetFailedExecutions(const Aws::Vector<RepositoryTriggerExecutionFailure>& value) { m_failedExecutions = value; }
103 
108  inline void SetFailedExecutions(Aws::Vector<RepositoryTriggerExecutionFailure>&& value) { m_failedExecutions = std::move(value); }
109 
114  inline TestRepositoryTriggersResult& WithFailedExecutions(const Aws::Vector<RepositoryTriggerExecutionFailure>& value) { SetFailedExecutions(value); return *this;}
115 
120  inline TestRepositoryTriggersResult& WithFailedExecutions(Aws::Vector<RepositoryTriggerExecutionFailure>&& value) { SetFailedExecutions(std::move(value)); return *this;}
121 
126  inline TestRepositoryTriggersResult& AddFailedExecutions(const RepositoryTriggerExecutionFailure& value) { m_failedExecutions.push_back(value); return *this; }
127 
132  inline TestRepositoryTriggersResult& AddFailedExecutions(RepositoryTriggerExecutionFailure&& value) { m_failedExecutions.push_back(std::move(value)); return *this; }
133 
134  private:
135 
136  Aws::Vector<Aws::String> m_successfulExecutions;
137 
139  };
140 
141 } // namespace Model
142 } // namespace CodeCommit
143 } // namespace Aws
Aws::CodeCommit::Model::TestRepositoryTriggersResult::SetFailedExecutions
void SetFailedExecutions(Aws::Vector< RepositoryTriggerExecutionFailure > &&value)
Definition: TestRepositoryTriggersResult.h:108
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::TestRepositoryTriggersResult::operator=
TestRepositoryTriggersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::TestRepositoryTriggersResult::GetSuccessfulExecutions
const Aws::Vector< Aws::String > & GetSuccessfulExecutions() const
Definition: TestRepositoryTriggersResult.h:47
Aws::CodeCommit::Model::TestRepositoryTriggersResult::AddFailedExecutions
TestRepositoryTriggersResult & AddFailedExecutions(const RepositoryTriggerExecutionFailure &value)
Definition: TestRepositoryTriggersResult.h:126
Aws::CodeCommit::Model::TestRepositoryTriggersResult::WithFailedExecutions
TestRepositoryTriggersResult & WithFailedExecutions(const Aws::Vector< RepositoryTriggerExecutionFailure > &value)
Definition: TestRepositoryTriggersResult.h:114
Aws::CodeCommit::Model::TestRepositoryTriggersResult::WithFailedExecutions
TestRepositoryTriggersResult & WithFailedExecutions(Aws::Vector< RepositoryTriggerExecutionFailure > &&value)
Definition: TestRepositoryTriggersResult.h:120
Aws::CodeCommit::Model::TestRepositoryTriggersResult::AddSuccessfulExecutions
TestRepositoryTriggersResult & AddSuccessfulExecutions(const Aws::String &value)
Definition: TestRepositoryTriggersResult.h:77
Aws::CodeCommit::Model::TestRepositoryTriggersResult::AddSuccessfulExecutions
TestRepositoryTriggersResult & AddSuccessfulExecutions(const char *value)
Definition: TestRepositoryTriggersResult.h:89
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeCommit::Model::TestRepositoryTriggersResult::SetSuccessfulExecutions
void SetSuccessfulExecutions(const Aws::Vector< Aws::String > &value)
Definition: TestRepositoryTriggersResult.h:53
Aws::CodeCommit::Model::TestRepositoryTriggersResult::AddSuccessfulExecutions
TestRepositoryTriggersResult & AddSuccessfulExecutions(Aws::String &&value)
Definition: TestRepositoryTriggersResult.h:83
AWSVector.h
Aws::CodeCommit::Model::TestRepositoryTriggersResult
Definition: TestRepositoryTriggersResult.h:36
Aws::CodeCommit::Model::TestRepositoryTriggersResult::WithSuccessfulExecutions
TestRepositoryTriggersResult & WithSuccessfulExecutions(const Aws::Vector< Aws::String > &value)
Definition: TestRepositoryTriggersResult.h:65
Aws::CodeCommit::Model::TestRepositoryTriggersResult::AddFailedExecutions
TestRepositoryTriggersResult & AddFailedExecutions(RepositoryTriggerExecutionFailure &&value)
Definition: TestRepositoryTriggersResult.h:132
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::TestRepositoryTriggersResult::TestRepositoryTriggersResult
TestRepositoryTriggersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::TestRepositoryTriggersResult::SetFailedExecutions
void SetFailedExecutions(const Aws::Vector< RepositoryTriggerExecutionFailure > &value)
Definition: TestRepositoryTriggersResult.h:102
Aws::CodeCommit::Model::TestRepositoryTriggersResult::GetFailedExecutions
const Aws::Vector< RepositoryTriggerExecutionFailure > & GetFailedExecutions() const
Definition: TestRepositoryTriggersResult.h:96
Aws::CodeCommit::Model::TestRepositoryTriggersResult::WithSuccessfulExecutions
TestRepositoryTriggersResult & WithSuccessfulExecutions(Aws::Vector< Aws::String > &&value)
Definition: TestRepositoryTriggersResult.h:71
RepositoryTriggerExecutionFailure.h
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::TestRepositoryTriggersResult::TestRepositoryTriggersResult
TestRepositoryTriggersResult()
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure
Definition: RepositoryTriggerExecutionFailure.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::TestRepositoryTriggersResult::SetSuccessfulExecutions
void SetSuccessfulExecutions(Aws::Vector< Aws::String > &&value)
Definition: TestRepositoryTriggersResult.h:59