7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
41 template <
typename ArnT = Aws::String>
43 m_arnHasBeenSet =
true;
44 m_arn = std::forward<ArnT>(value);
46 template <
typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
61 m_packageCleanupHasBeenSet =
true;
62 m_packageCleanup = value;
79 template <
typename ExcludeAppPackagesFromCleanupT = Aws::Vector<Aws::String>>
81 m_excludeAppPackagesFromCleanupHasBeenSet =
true;
82 m_excludeAppPackagesFromCleanup = std::forward<ExcludeAppPackagesFromCleanupT>(value);
84 template <
typename ExcludeAppPackagesFromCleanupT = Aws::Vector<Aws::String>>
89 template <
typename ExcludeAppPackagesFromCleanupT = Aws::String>
91 m_excludeAppPackagesFromCleanupHasBeenSet =
true;
92 m_excludeAppPackagesFromCleanup.emplace_back(std::forward<ExcludeAppPackagesFromCleanupT>(value));
105 m_rebootAfterUseHasBeenSet =
true;
106 m_rebootAfterUse = value;
120 template <
typename NameT = Aws::String>
122 m_nameHasBeenSet =
true;
123 m_name = std::forward<NameT>(value);
125 template <
typename NameT = Aws::String>
127 SetName(std::forward<NameT>(value));
138 template <
typename DescriptionT = Aws::String>
140 m_descriptionHasBeenSet =
true;
141 m_description = std::forward<DescriptionT>(value);
143 template <
typename DescriptionT = Aws::String>
152 bool m_packageCleanup{
false};
156 bool m_rebootAfterUse{
false};
161 bool m_arnHasBeenSet =
false;
162 bool m_packageCleanupHasBeenSet =
false;
163 bool m_excludeAppPackagesFromCleanupHasBeenSet =
false;
164 bool m_rebootAfterUseHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
InstanceProfile & WithName(NameT &&value)
void SetExcludeAppPackagesFromCleanup(ExcludeAppPackagesFromCleanupT &&value)
InstanceProfile & WithPackageCleanup(bool value)
bool ExcludeAppPackagesFromCleanupHasBeenSet() const
AWS_DEVICEFARM_API InstanceProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceProfile & WithDescription(DescriptionT &&value)
InstanceProfile & WithRebootAfterUse(bool value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetExcludeAppPackagesFromCleanup() const
AWS_DEVICEFARM_API InstanceProfile()=default
bool ArnHasBeenSet() const
bool NameHasBeenSet() const
InstanceProfile & WithExcludeAppPackagesFromCleanup(ExcludeAppPackagesFromCleanupT &&value)
bool PackageCleanupHasBeenSet() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetRebootAfterUse() const
void SetName(NameT &&value)
InstanceProfile & WithArn(ArnT &&value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
bool RebootAfterUseHasBeenSet() const
void SetRebootAfterUse(bool value)
AWS_DEVICEFARM_API InstanceProfile(Aws::Utils::Json::JsonView jsonValue)
InstanceProfile & AddExcludeAppPackagesFromCleanup(ExcludeAppPackagesFromCleanupT &&value)
bool GetPackageCleanup() const
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
void SetPackageCleanup(bool 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