/**
* 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 managed nodes, including
* target operating systems and source repository. Applies to Linux managed nodes
* only.See Also:
AWS API
* Reference
The name specified to identify the patch source.
*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } inline PatchSource& WithName(const Aws::String& value) { SetName(value); return *this;} inline PatchSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} 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 value of the yum repo configuration. For example:
* [main]
name=MyCustomRepository
* baseurl=https://my-custom-repository
* enabled=1
For information about other options * available for your yum repository configuration, see dnf.conf(5).
* */ inline const Aws::String& GetConfiguration() const{ return m_configuration; } inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } inline void SetConfiguration(const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration = value; } inline void SetConfiguration(Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } inline void SetConfiguration(const char* value) { m_configurationHasBeenSet = true; m_configuration.assign(value); } inline PatchSource& WithConfiguration(const Aws::String& value) { SetConfiguration(value); return *this;} inline PatchSource& WithConfiguration(Aws::String&& value) { SetConfiguration(std::move(value)); return *this;} inline PatchSource& WithConfiguration(const char* value) { SetConfiguration(value); return *this;} ///@} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector