/**
* 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 Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SSM
{
namespace Model
{
/**
* Whether or not the command was successfully canceled. There is no guarantee
* that a request can be canceled.
See Also:
AWS
* API Reference
*/
class CancelCommandResult
{
public:
AWS_SSM_API CancelCommandResult();
AWS_SSM_API CancelCommandResult(const Aws::AmazonWebServiceResult& result);
AWS_SSM_API CancelCommandResult& operator=(const Aws::AmazonWebServiceResult& result);
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 CancelCommandResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline CancelCommandResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline CancelCommandResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
private:
Aws::String m_requestId;
};
} // namespace Model
} // namespace SSM
} // namespace Aws