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 {
45 m_nameHasBeenSet =
true;
61 template <
typename IncludeListT = Aws::Vector<Aws::String>>
63 m_includeListHasBeenSet =
true;
64 m_includeList = std::forward<IncludeListT>(value);
66 template <
typename IncludeListT = Aws::Vector<Aws::String>>
71 template <
typename IncludeListT = Aws::String>
73 m_includeListHasBeenSet =
true;
74 m_includeList.emplace_back(std::forward<IncludeListT>(value));
85 template <
typename EffectiveIncludeListT = Aws::Vector<Aws::String>>
87 m_effectiveIncludeListHasBeenSet =
true;
88 m_effectiveIncludeList = std::forward<EffectiveIncludeListT>(value);
90 template <
typename EffectiveIncludeListT = Aws::Vector<Aws::String>>
95 template <
typename EffectiveIncludeListT = Aws::String>
97 m_effectiveIncludeListHasBeenSet =
true;
98 m_effectiveIncludeList.emplace_back(std::forward<EffectiveIncludeListT>(value));
110 template <
typename ExcludeListT = Aws::Vector<Aws::String>>
112 m_excludeListHasBeenSet =
true;
113 m_excludeList = std::forward<ExcludeListT>(value);
115 template <
typename ExcludeListT = Aws::Vector<Aws::String>>
120 template <
typename ExcludeListT = Aws::String>
122 m_excludeListHasBeenSet =
true;
123 m_excludeList.emplace_back(std::forward<ExcludeListT>(value));
135 bool m_nameHasBeenSet =
false;
136 bool m_includeListHasBeenSet =
false;
137 bool m_effectiveIncludeListHasBeenSet =
false;
138 bool m_excludeListHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API EffectivePreferredResource()=default
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExcludeList(ExcludeListT &&value)
EffectivePreferredResource & AddEffectiveIncludeList(EffectiveIncludeListT &&value)
AWS_COMPUTEOPTIMIZER_API EffectivePreferredResource(Aws::Utils::Json::JsonView jsonValue)
EffectivePreferredResource & AddExcludeList(ExcludeListT &&value)
void SetEffectiveIncludeList(EffectiveIncludeListT &&value)
const Aws::Vector< Aws::String > & GetIncludeList() const
EffectivePreferredResource & AddIncludeList(IncludeListT &&value)
bool NameHasBeenSet() const
EffectivePreferredResource & WithName(PreferredResourceName value)
EffectivePreferredResource & WithEffectiveIncludeList(EffectiveIncludeListT &&value)
void SetIncludeList(IncludeListT &&value)
const Aws::Vector< Aws::String > & GetExcludeList() const
EffectivePreferredResource & WithExcludeList(ExcludeListT &&value)
bool EffectiveIncludeListHasBeenSet() const
bool IncludeListHasBeenSet() const
PreferredResourceName GetName() const
void SetName(PreferredResourceName value)
bool ExcludeListHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API EffectivePreferredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEffectiveIncludeList() const
EffectivePreferredResource & WithIncludeList(IncludeListT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue