/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeStarconnections { namespace Model { class AWS_CODESTARCONNECTIONS_API CreateHostResult { public: CreateHostResult(); CreateHostResult(const Aws::AmazonWebServiceResult& result); CreateHostResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline const Aws::String& GetHostArn() const{ return m_hostArn; } /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline void SetHostArn(const Aws::String& value) { m_hostArn = value; } /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline void SetHostArn(Aws::String&& value) { m_hostArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline void SetHostArn(const char* value) { m_hostArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline CreateHostResult& WithHostArn(const Aws::String& value) { SetHostArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline CreateHostResult& WithHostArn(Aws::String&& value) { SetHostArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the host to be created.

*/ inline CreateHostResult& WithHostArn(const char* value) { SetHostArn(value); return *this;} private: Aws::String m_hostArn; }; } // namespace Model } // namespace CodeStarconnections } // namespace Aws