/**
* 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 an update workload call.
See Also:
AWS
* API Reference
*/
class UpdateWorkloadResult
{
public:
AWS_WELLARCHITECTED_API UpdateWorkloadResult();
AWS_WELLARCHITECTED_API UpdateWorkloadResult(const Aws::AmazonWebServiceResult& result);
AWS_WELLARCHITECTED_API UpdateWorkloadResult& 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 UpdateWorkloadResult& WithWorkload(const Workload& value) { SetWorkload(value); return *this;}
inline UpdateWorkloadResult& 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 UpdateWorkloadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline UpdateWorkloadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline UpdateWorkloadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
private:
Workload m_workload;
Aws::String m_requestId;
};
} // namespace Model
} // namespace WellArchitected
} // namespace Aws