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/RepositoryTriggerEventEnum.h>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline void SetDestinationArn(
const char* value) { m_destinationArnHasBeenSet =
true; m_destinationArn.assign(value); }
84 inline void SetCustomData(
const char* value) { m_customDataHasBeenSet =
true; m_customData.assign(value); }
125 bool m_nameHasBeenSet =
false;
128 bool m_destinationArnHasBeenSet =
false;
131 bool m_customDataHasBeenSet =
false;
134 bool m_branchesHasBeenSet =
false;
137 bool m_eventsHasBeenSet =
false;
RepositoryTrigger & WithCustomData(Aws::String &&value)
void SetEvents(Aws::Vector< RepositoryTriggerEventEnum > &&value)
RepositoryTrigger & AddBranches(const Aws::String &value)
RepositoryTrigger & AddBranches(Aws::String &&value)
void SetName(const Aws::String &value)
bool DestinationArnHasBeenSet() const
const Aws::String & GetName() const
RepositoryTrigger & AddBranches(const char *value)
RepositoryTrigger & WithName(const Aws::String &value)
void SetBranches(Aws::Vector< Aws::String > &&value)
RepositoryTrigger & WithCustomData(const Aws::String &value)
RepositoryTrigger & WithEvents(const Aws::Vector< RepositoryTriggerEventEnum > &value)
bool EventsHasBeenSet() const
bool CustomDataHasBeenSet() const
void SetCustomData(const Aws::String &value)
void SetCustomData(const char *value)
bool NameHasBeenSet() const
RepositoryTrigger & WithName(Aws::String &&value)
AWS_CODECOMMIT_API RepositoryTrigger & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API RepositoryTrigger(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationArn(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryTrigger & AddEvents(RepositoryTriggerEventEnum &&value)
const Aws::Vector< Aws::String > & GetBranches() const
void SetDestinationArn(const Aws::String &value)
RepositoryTrigger & WithBranches(const Aws::Vector< Aws::String > &value)
const Aws::String & GetCustomData() const
RepositoryTrigger & WithDestinationArn(const Aws::String &value)
void SetName(const char *value)
const Aws::Vector< RepositoryTriggerEventEnum > & GetEvents() const
const Aws::String & GetDestinationArn() const
bool BranchesHasBeenSet() const
void SetEvents(const Aws::Vector< RepositoryTriggerEventEnum > &value)
RepositoryTrigger & WithName(const char *value)
void SetCustomData(Aws::String &&value)
AWS_CODECOMMIT_API RepositoryTrigger()
void SetName(Aws::String &&value)
RepositoryTrigger & AddEvents(const RepositoryTriggerEventEnum &value)
void SetBranches(const Aws::Vector< Aws::String > &value)
RepositoryTrigger & WithEvents(Aws::Vector< RepositoryTriggerEventEnum > &&value)
RepositoryTrigger & WithDestinationArn(Aws::String &&value)
RepositoryTrigger & WithCustomData(const char *value)
RepositoryTrigger & WithDestinationArn(const char *value)
RepositoryTrigger & WithBranches(Aws::Vector< Aws::String > &&value)
void SetDestinationArn(const char *value)
RepositoryTriggerEventEnum
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue