AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRepositoryTriggersResult.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codecommit/model/RepositoryTrigger.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 GetRepositoryTriggersResult();
41
42
44
47 inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
48 inline void SetConfigurationId(const Aws::String& value) { m_configurationId = value; }
49 inline void SetConfigurationId(Aws::String&& value) { m_configurationId = std::move(value); }
50 inline void SetConfigurationId(const char* value) { m_configurationId.assign(value); }
52 inline GetRepositoryTriggersResult& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
53 inline GetRepositoryTriggersResult& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
55
57
60 inline const Aws::Vector<RepositoryTrigger>& GetTriggers() const{ return m_triggers; }
61 inline void SetTriggers(const Aws::Vector<RepositoryTrigger>& value) { m_triggers = value; }
62 inline void SetTriggers(Aws::Vector<RepositoryTrigger>&& value) { m_triggers = std::move(value); }
64 inline GetRepositoryTriggersResult& WithTriggers(Aws::Vector<RepositoryTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
65 inline GetRepositoryTriggersResult& AddTriggers(const RepositoryTrigger& value) { m_triggers.push_back(value); return *this; }
66 inline GetRepositoryTriggersResult& AddTriggers(RepositoryTrigger&& value) { m_triggers.push_back(std::move(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline GetRepositoryTriggersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline GetRepositoryTriggersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline GetRepositoryTriggersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 Aws::String m_configurationId;
82
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace CodeCommit
90} // namespace Aws
const Aws::Vector< RepositoryTrigger > & GetTriggers() const
GetRepositoryTriggersResult & WithRequestId(const char *value)
AWS_CODECOMMIT_API GetRepositoryTriggersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTriggers(Aws::Vector< RepositoryTrigger > &&value)
AWS_CODECOMMIT_API GetRepositoryTriggersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRepositoryTriggersResult & WithTriggers(Aws::Vector< RepositoryTrigger > &&value)
GetRepositoryTriggersResult & WithConfigurationId(const Aws::String &value)
GetRepositoryTriggersResult & AddTriggers(RepositoryTrigger &&value)
GetRepositoryTriggersResult & WithTriggers(const Aws::Vector< RepositoryTrigger > &value)
GetRepositoryTriggersResult & WithConfigurationId(const char *value)
GetRepositoryTriggersResult & WithRequestId(const Aws::String &value)
GetRepositoryTriggersResult & AddTriggers(const RepositoryTrigger &value)
GetRepositoryTriggersResult & WithRequestId(Aws::String &&value)
GetRepositoryTriggersResult & WithConfigurationId(Aws::String &&value)
void SetTriggers(const Aws::Vector< RepositoryTrigger > &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