7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/PreferredResourceName.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ComputeOptimizer
74 template<
typename IncludeListT = Aws::Vector<Aws::String>>
75 void SetIncludeList(IncludeListT&& value) { m_includeListHasBeenSet =
true; m_includeList = std::forward<IncludeListT>(value); }
76 template<
typename IncludeListT = Aws::Vector<Aws::String>>
78 template<
typename IncludeListT = Aws::String>
79 PreferredResource&
AddIncludeList(IncludeListT&& value) { m_includeListHasBeenSet =
true; m_includeList.emplace_back(std::forward<IncludeListT>(value));
return *
this; }
90 template<
typename ExcludeListT = Aws::Vector<Aws::String>>
91 void SetExcludeList(ExcludeListT&& value) { m_excludeListHasBeenSet =
true; m_excludeList = std::forward<ExcludeListT>(value); }
92 template<
typename ExcludeListT = Aws::Vector<Aws::String>>
94 template<
typename ExcludeListT = Aws::String>
95 PreferredResource&
AddExcludeList(ExcludeListT&& value) { m_excludeListHasBeenSet =
true; m_excludeList.emplace_back(std::forward<ExcludeListT>(value));
return *
this; }
100 bool m_nameHasBeenSet =
false;
103 bool m_includeListHasBeenSet =
false;
106 bool m_excludeListHasBeenSet =
false;
PreferredResource & AddExcludeList(ExcludeListT &&value)
AWS_COMPUTEOPTIMIZER_API PreferredResource(Aws::Utils::Json::JsonView jsonValue)
bool IncludeListHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API PreferredResource()=default
void SetExcludeList(ExcludeListT &&value)
bool ExcludeListHasBeenSet() const
PreferredResource & WithName(PreferredResourceName value)
const Aws::Vector< Aws::String > & GetExcludeList() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIncludeList(IncludeListT &&value)
const Aws::Vector< Aws::String > & GetIncludeList() const
PreferredResource & WithExcludeList(ExcludeListT &&value)
bool NameHasBeenSet() const
void SetName(PreferredResourceName value)
PreferredResourceName GetName() const
PreferredResource & WithIncludeList(IncludeListT &&value)
AWS_COMPUTEOPTIMIZER_API PreferredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
PreferredResource & AddIncludeList(IncludeListT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue