/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NimbleStudio { namespace Model { /** *

The configuration for a render farm that is associated with a studio * resource.

See Also:

AWS * API Reference

*/ class ComputeFarmConfiguration { public: AWS_NIMBLESTUDIO_API ComputeFarmConfiguration(); AWS_NIMBLESTUDIO_API ComputeFarmConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_NIMBLESTUDIO_API ComputeFarmConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_NIMBLESTUDIO_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline const Aws::String& GetActiveDirectoryUser() const{ return m_activeDirectoryUser; } /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline bool ActiveDirectoryUserHasBeenSet() const { return m_activeDirectoryUserHasBeenSet; } /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline void SetActiveDirectoryUser(const Aws::String& value) { m_activeDirectoryUserHasBeenSet = true; m_activeDirectoryUser = value; } /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline void SetActiveDirectoryUser(Aws::String&& value) { m_activeDirectoryUserHasBeenSet = true; m_activeDirectoryUser = std::move(value); } /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline void SetActiveDirectoryUser(const char* value) { m_activeDirectoryUserHasBeenSet = true; m_activeDirectoryUser.assign(value); } /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline ComputeFarmConfiguration& WithActiveDirectoryUser(const Aws::String& value) { SetActiveDirectoryUser(value); return *this;} /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline ComputeFarmConfiguration& WithActiveDirectoryUser(Aws::String&& value) { SetActiveDirectoryUser(std::move(value)); return *this;} /** *

The name of an Active Directory user that is used on ComputeFarm worker * instances.

*/ inline ComputeFarmConfiguration& WithActiveDirectoryUser(const char* value) { SetActiveDirectoryUser(value); return *this;} /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline ComputeFarmConfiguration& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline ComputeFarmConfiguration& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *

The endpoint of the ComputeFarm that is accessed by the studio component * resource.

*/ inline ComputeFarmConfiguration& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} private: Aws::String m_activeDirectoryUser; bool m_activeDirectoryUserHasBeenSet = false; Aws::String m_endpoint; bool m_endpointHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws