/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a put repository triggers operation.See
* Also:
AWS
* API Reference
The name of the repository where you want to create or update the * trigger.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the repository where you want to create or update the * trigger.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the repository where you want to create or update the * trigger.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the repository where you want to create or update the * trigger.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the repository where you want to create or update the * trigger.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the repository where you want to create or update the * trigger.
*/ inline PutRepositoryTriggersRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the repository where you want to create or update the * trigger.
*/ inline PutRepositoryTriggersRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the repository where you want to create or update the * trigger.
*/ inline PutRepositoryTriggersRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *The JSON block of configuration information for each trigger.
*/ inline const Aws::VectorThe JSON block of configuration information for each trigger.
*/ inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; } /** *The JSON block of configuration information for each trigger.
*/ inline void SetTriggers(const Aws::VectorThe JSON block of configuration information for each trigger.
*/ inline void SetTriggers(Aws::VectorThe JSON block of configuration information for each trigger.
*/ inline PutRepositoryTriggersRequest& WithTriggers(const Aws::VectorThe JSON block of configuration information for each trigger.
*/ inline PutRepositoryTriggersRequest& WithTriggers(Aws::VectorThe JSON block of configuration information for each trigger.
*/ inline PutRepositoryTriggersRequest& AddTriggers(const RepositoryTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; } /** *The JSON block of configuration information for each trigger.
*/ inline PutRepositoryTriggersRequest& AddTriggers(RepositoryTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; } private: Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::Vector