/** * 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 WellArchitected { namespace Model { /** *

Output of a get workload call.

See Also:

AWS * API Reference

*/ class GetWorkloadResult { public: AWS_WELLARCHITECTED_API GetWorkloadResult(); AWS_WELLARCHITECTED_API GetWorkloadResult(const Aws::AmazonWebServiceResult& result); AWS_WELLARCHITECTED_API GetWorkloadResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Workload& GetWorkload() const{ return m_workload; } inline void SetWorkload(const Workload& value) { m_workload = value; } inline void SetWorkload(Workload&& value) { m_workload = std::move(value); } inline GetWorkloadResult& WithWorkload(const Workload& value) { SetWorkload(value); return *this;} inline GetWorkloadResult& WithWorkload(Workload&& value) { SetWorkload(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 GetWorkloadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWorkloadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWorkloadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Workload m_workload; Aws::String m_requestId; }; } // namespace Model } // namespace WellArchitected } // namespace Aws