7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
63 template<
typename ProductsT = Aws::Vector<Aws::String>>
64 void SetProducts(ProductsT&& value) { m_productsHasBeenSet =
true; m_products = std::forward<ProductsT>(value); }
65 template<
typename ProductsT = Aws::Vector<Aws::String>>
67 template<
typename ProductsT = Aws::String>
68 PatchSource&
AddProducts(ProductsT&& value) { m_productsHasBeenSet =
true; m_products.emplace_back(std::forward<ProductsT>(value));
return *
this; }
83 template<
typename ConfigurationT = Aws::String>
84 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
85 template<
typename ConfigurationT = Aws::String>
91 bool m_nameHasBeenSet =
false;
94 bool m_productsHasBeenSet =
false;
97 bool m_configurationHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetProducts() const
void SetConfiguration(ConfigurationT &&value)
PatchSource & AddProducts(ProductsT &&value)
bool ProductsHasBeenSet() const
void SetProducts(ProductsT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
PatchSource & WithProducts(ProductsT &&value)
bool ConfigurationHasBeenSet() const
const Aws::String & GetConfiguration() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
AWS_SSM_API PatchSource()=default
AWS_SSM_API PatchSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API PatchSource(Aws::Utils::Json::JsonView jsonValue)
PatchSource & WithConfiguration(ConfigurationT &&value)
PatchSource & WithName(NameT &&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