/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the instance profile.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the instance profile.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline InstanceProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline InstanceProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the instance profile.
*/ inline InstanceProfile& WithArn(const char* value) { SetArn(value); return *this;} /** *When set to true
, Device Farm removes app packages after a test
* run. The default value is false
for private devices.
When set to true
, Device Farm removes app packages after a test
* run. The default value is false
for private devices.
When set to true
, Device Farm removes app packages after a test
* run. The default value is false
for private devices.
When set to true
, Device Farm removes app packages after a test
* run. The default value is false
for private devices.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
An array of strings containing the list of app packages that should not be * cleaned up from the device after a test run completes.
The list of
* packages is considered only if you set packageCleanup
to
* true
.
When set to true
, Device Farm reboots the instance after a test
* run. The default value is true
.
When set to true
, Device Farm reboots the instance after a test
* run. The default value is true
.
When set to true
, Device Farm reboots the instance after a test
* run. The default value is true
.
When set to true
, Device Farm reboots the instance after a test
* run. The default value is true
.
The name of the instance profile.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the instance profile.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the instance profile.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the instance profile.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the instance profile.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the instance profile.
*/ inline InstanceProfile& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the instance profile.
*/ inline InstanceProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the instance profile.
*/ inline InstanceProfile& WithName(const char* value) { SetName(value); return *this;} /** *The description of the instance profile.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the instance profile.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the instance profile.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the instance profile.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the instance profile.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the instance profile.
*/ inline InstanceProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the instance profile.
*/ inline InstanceProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the instance profile.
*/ inline InstanceProfile& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; bool m_packageCleanup; bool m_packageCleanupHasBeenSet = false; Aws::Vector