/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the patches to use to update the instances, including
* target operating systems and source repository. Applies to Linux instances
* only.See Also:
AWS API
* Reference
The name specified to identify the patch source.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name specified to identify the patch source.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name specified to identify the patch source.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name specified to identify the patch source.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name specified to identify the patch source.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name specified to identify the patch source.
*/ inline PatchSource& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name specified to identify the patch source.
*/ inline PatchSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name specified to identify the patch source.
*/ inline PatchSource& WithName(const char* value) { SetName(value); return *this;} /** *The specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline const Aws::VectorThe specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline bool ProductsHasBeenSet() const { return m_productsHasBeenSet; } /** *The specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline void SetProducts(const Aws::VectorThe specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline void SetProducts(Aws::VectorThe specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline PatchSource& WithProducts(const Aws::VectorThe specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline PatchSource& WithProducts(Aws::VectorThe specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline PatchSource& AddProducts(const Aws::String& value) { m_productsHasBeenSet = true; m_products.push_back(value); return *this; } /** *The specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline PatchSource& AddProducts(Aws::String&& value) { m_productsHasBeenSet = true; m_products.push_back(std::move(value)); return *this; } /** *The specific operating system versions a patch repository applies to, such as * "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". * For lists of supported product values, see PatchFilter.
*/ inline PatchSource& AddProducts(const char* value) { m_productsHasBeenSet = true; m_products.push_back(value); return *this; } /** *The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2
The value of the yum repo configuration. For example:
* [main]
* cachedir=/var/cache/yum/$basesearch$releasever
* keepcache=0
debuglevel=2