This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ssm/include/aws/ssm/model/SendCommandResult.h

73 lines
2.0 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/ssm/model/Command.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SSM
{
namespace Model
{
class AWS_SSM_API SendCommandResult
{
public:
SendCommandResult();
SendCommandResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
SendCommandResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The request as it was received by Systems Manager. Also provides the command
* ID which can be used future references to this request.</p>
*/
inline const Command& GetCommand() const{ return m_command; }
/**
* <p>The request as it was received by Systems Manager. Also provides the command
* ID which can be used future references to this request.</p>
*/
inline void SetCommand(const Command& value) { m_command = value; }
/**
* <p>The request as it was received by Systems Manager. Also provides the command
* ID which can be used future references to this request.</p>
*/
inline void SetCommand(Command&& value) { m_command = std::move(value); }
/**
* <p>The request as it was received by Systems Manager. Also provides the command
* ID which can be used future references to this request.</p>
*/
inline SendCommandResult& WithCommand(const Command& value) { SetCommand(value); return *this;}
/**
* <p>The request as it was received by Systems Manager. Also provides the command
* ID which can be used future references to this request.</p>
*/
inline SendCommandResult& WithCommand(Command&& value) { SetCommand(std::move(value)); return *this;}
private:
Command m_command;
};
} // namespace Model
} // namespace SSM
} // namespace Aws