/**
* 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 Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace EC2
{
namespace Model
{
/**
* Contains the output of ModifySpotFleetRequest.
See Also:
AWS
* API Reference
*/
class AWS_EC2_API ModifySpotFleetRequestResponse
{
public:
ModifySpotFleetRequestResponse();
ModifySpotFleetRequestResponse(const Aws::AmazonWebServiceResult& result);
ModifySpotFleetRequestResponse& operator=(const Aws::AmazonWebServiceResult& result);
/**
* Is true if the request succeeds, and an error otherwise.
*/
inline bool GetReturn() const{ return m_return; }
/**
* Is true if the request succeeds, and an error otherwise.
*/
inline void SetReturn(bool value) { m_return = value; }
/**
* Is true if the request succeeds, and an error otherwise.
*/
inline ModifySpotFleetRequestResponse& WithReturn(bool value) { SetReturn(value); return *this;}
inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
inline ModifySpotFleetRequestResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
inline ModifySpotFleetRequestResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
private:
bool m_return;
ResponseMetadata m_responseMetadata;
};
} // namespace Model
} // namespace EC2
} // namespace Aws