AWS SDK for C++  1.8.152
AWS SDK for C++
GetRepositoryTriggersResult.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 
46  inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
47 
51  inline void SetConfigurationId(const Aws::String& value) { m_configurationId = value; }
52 
56  inline void SetConfigurationId(Aws::String&& value) { m_configurationId = std::move(value); }
57 
61  inline void SetConfigurationId(const char* value) { m_configurationId.assign(value); }
62 
66  inline GetRepositoryTriggersResult& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
67 
71  inline GetRepositoryTriggersResult& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
72 
76  inline GetRepositoryTriggersResult& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
77 
78 
82  inline const Aws::Vector<RepositoryTrigger>& GetTriggers() const{ return m_triggers; }
83 
87  inline void SetTriggers(const Aws::Vector<RepositoryTrigger>& value) { m_triggers = value; }
88 
92  inline void SetTriggers(Aws::Vector<RepositoryTrigger>&& value) { m_triggers = std::move(value); }
93 
97  inline GetRepositoryTriggersResult& WithTriggers(const Aws::Vector<RepositoryTrigger>& value) { SetTriggers(value); return *this;}
98 
102  inline GetRepositoryTriggersResult& WithTriggers(Aws::Vector<RepositoryTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
103 
107  inline GetRepositoryTriggersResult& AddTriggers(const RepositoryTrigger& value) { m_triggers.push_back(value); return *this; }
108 
112  inline GetRepositoryTriggersResult& AddTriggers(RepositoryTrigger&& value) { m_triggers.push_back(std::move(value)); return *this; }
113 
114  private:
115 
116  Aws::String m_configurationId;
117 
119  };
120 
121 } // namespace Model
122 } // namespace CodeCommit
123 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::GetRepositoryTriggersResult::SetConfigurationId
void SetConfigurationId(Aws::String &&value)
Definition: GetRepositoryTriggersResult.h:56
Aws::CodeCommit::Model::GetRepositoryTriggersResult::SetTriggers
void SetTriggers(const Aws::Vector< RepositoryTrigger > &value)
Definition: GetRepositoryTriggersResult.h:87
Aws::CodeCommit::Model::GetRepositoryTriggersResult::WithConfigurationId
GetRepositoryTriggersResult & WithConfigurationId(const Aws::String &value)
Definition: GetRepositoryTriggersResult.h:66
Aws::CodeCommit::Model::GetRepositoryTriggersResult
Definition: GetRepositoryTriggersResult.h:36
Aws::CodeCommit::Model::GetRepositoryTriggersResult::SetConfigurationId
void SetConfigurationId(const Aws::String &value)
Definition: GetRepositoryTriggersResult.h:51
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::CodeCommit::Model::GetRepositoryTriggersResult::WithTriggers
GetRepositoryTriggersResult & WithTriggers(const Aws::Vector< RepositoryTrigger > &value)
Definition: GetRepositoryTriggersResult.h:97
Aws::CodeCommit::Model::GetRepositoryTriggersResult::GetConfigurationId
const Aws::String & GetConfigurationId() const
Definition: GetRepositoryTriggersResult.h:46
Aws::CodeCommit::Model::GetRepositoryTriggersResult::SetTriggers
void SetTriggers(Aws::Vector< RepositoryTrigger > &&value)
Definition: GetRepositoryTriggersResult.h:92
Aws::CodeCommit::Model::GetRepositoryTriggersResult::GetRepositoryTriggersResult
GetRepositoryTriggersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetRepositoryTriggersResult::WithConfigurationId
GetRepositoryTriggersResult & WithConfigurationId(Aws::String &&value)
Definition: GetRepositoryTriggersResult.h:71
Aws::CodeCommit::Model::GetRepositoryTriggersResult::SetConfigurationId
void SetConfigurationId(const char *value)
Definition: GetRepositoryTriggersResult.h:61
Aws::CodeCommit::Model::GetRepositoryTriggersResult::GetTriggers
const Aws::Vector< RepositoryTrigger > & GetTriggers() const
Definition: GetRepositoryTriggersResult.h:82
Aws::CodeCommit::Model::GetRepositoryTriggersResult::operator=
GetRepositoryTriggersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetRepositoryTriggersResult::AddTriggers
GetRepositoryTriggersResult & AddTriggers(const RepositoryTrigger &value)
Definition: GetRepositoryTriggersResult.h:107
Aws::CodeCommit::Model::GetRepositoryTriggersResult::GetRepositoryTriggersResult
GetRepositoryTriggersResult()
AWSString.h
Aws::CodeCommit::Model::GetRepositoryTriggersResult::AddTriggers
GetRepositoryTriggersResult & AddTriggers(RepositoryTrigger &&value)
Definition: GetRepositoryTriggersResult.h:112
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::GetRepositoryTriggersResult::WithConfigurationId
GetRepositoryTriggersResult & WithConfigurationId(const char *value)
Definition: GetRepositoryTriggersResult.h:76
Aws::CodeCommit::Model::GetRepositoryTriggersResult::WithTriggers
GetRepositoryTriggersResult & WithTriggers(Aws::Vector< RepositoryTrigger > &&value)
Definition: GetRepositoryTriggersResult.h:102
RepositoryTrigger.h
Aws::CodeCommit::Model::RepositoryTrigger
Definition: RepositoryTrigger.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97