/** * 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 Proton { namespace Model { class AcceptEnvironmentAccountConnectionResult { public: AWS_PROTON_API AcceptEnvironmentAccountConnectionResult(); AWS_PROTON_API AcceptEnvironmentAccountConnectionResult(const Aws::AmazonWebServiceResult& result); AWS_PROTON_API AcceptEnvironmentAccountConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The environment account connection data that's returned by Proton.

*/ inline const EnvironmentAccountConnection& GetEnvironmentAccountConnection() const{ return m_environmentAccountConnection; } /** *

The environment account connection data that's returned by Proton.

*/ inline void SetEnvironmentAccountConnection(const EnvironmentAccountConnection& value) { m_environmentAccountConnection = value; } /** *

The environment account connection data that's returned by Proton.

*/ inline void SetEnvironmentAccountConnection(EnvironmentAccountConnection&& value) { m_environmentAccountConnection = std::move(value); } /** *

The environment account connection data that's returned by Proton.

*/ inline AcceptEnvironmentAccountConnectionResult& WithEnvironmentAccountConnection(const EnvironmentAccountConnection& value) { SetEnvironmentAccountConnection(value); return *this;} /** *

The environment account connection data that's returned by Proton.

*/ inline AcceptEnvironmentAccountConnectionResult& WithEnvironmentAccountConnection(EnvironmentAccountConnection&& value) { SetEnvironmentAccountConnection(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 AcceptEnvironmentAccountConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AcceptEnvironmentAccountConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AcceptEnvironmentAccountConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EnvironmentAccountConnection m_environmentAccountConnection; Aws::String m_requestId; }; } // namespace Model } // namespace Proton } // namespace Aws