7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/PreferredResourceName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace ComputeOptimizer {
55 m_nameHasBeenSet =
true;
74 template <
typename IncludeListT = Aws::Vector<Aws::String>>
76 m_includeListHasBeenSet =
true;
77 m_includeList = std::forward<IncludeListT>(value);
79 template <
typename IncludeListT = Aws::Vector<Aws::String>>
84 template <
typename IncludeListT = Aws::String>
86 m_includeListHasBeenSet =
true;
87 m_includeList.emplace_back(std::forward<IncludeListT>(value));
100 template <
typename ExcludeListT = Aws::Vector<Aws::String>>
102 m_excludeListHasBeenSet =
true;
103 m_excludeList = std::forward<ExcludeListT>(value);
105 template <
typename ExcludeListT = Aws::Vector<Aws::String>>
110 template <
typename ExcludeListT = Aws::String>
112 m_excludeListHasBeenSet =
true;
113 m_excludeList.emplace_back(std::forward<ExcludeListT>(value));
123 bool m_nameHasBeenSet =
false;
124 bool m_includeListHasBeenSet =
false;
125 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