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

The network profile that is returned by the create network profile * request.

*/ inline const NetworkProfile& GetNetworkProfile() const{ return m_networkProfile; } /** *

The network profile that is returned by the create network profile * request.

*/ inline void SetNetworkProfile(const NetworkProfile& value) { m_networkProfile = value; } /** *

The network profile that is returned by the create network profile * request.

*/ inline void SetNetworkProfile(NetworkProfile&& value) { m_networkProfile = std::move(value); } /** *

The network profile that is returned by the create network profile * request.

*/ inline CreateNetworkProfileResult& WithNetworkProfile(const NetworkProfile& value) { SetNetworkProfile(value); return *this;} /** *

The network profile that is returned by the create network profile * request.

*/ inline CreateNetworkProfileResult& WithNetworkProfile(NetworkProfile&& value) { SetNetworkProfile(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateNetworkProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateNetworkProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateNetworkProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: NetworkProfile m_networkProfile; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws