/** * 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 { class AWS_SSM_API SendCommandResult { public: SendCommandResult(); SendCommandResult(const Aws::AmazonWebServiceResult& result); SendCommandResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The request as it was received by Systems Manager. Also provides the command * ID which can be used future references to this request.

*/ inline const Command& GetCommand() const{ return m_command; } /** *

The request as it was received by Systems Manager. Also provides the command * ID which can be used future references to this request.

*/ inline void SetCommand(const Command& value) { m_command = value; } /** *

The request as it was received by Systems Manager. Also provides the command * ID which can be used future references to this request.

*/ inline void SetCommand(Command&& value) { m_command = std::move(value); } /** *

The request as it was received by Systems Manager. Also provides the command * ID which can be used future references to this request.

*/ inline SendCommandResult& WithCommand(const Command& value) { SetCommand(value); return *this;} /** *

The request as it was received by Systems Manager. Also provides the command * ID which can be used future references to this request.

*/ inline SendCommandResult& WithCommand(Command&& value) { SetCommand(std::move(value)); return *this;} private: Command m_command; }; } // namespace Model } // namespace SSM } // namespace Aws