68 lines
1.8 KiB
C++
68 lines
1.8 KiB
C++
/**
|
|
* 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/DocumentDescription.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 UpdateDocumentResult
|
|
{
|
|
public:
|
|
UpdateDocumentResult();
|
|
UpdateDocumentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
UpdateDocumentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>A description of the document that was updated.</p>
|
|
*/
|
|
inline const DocumentDescription& GetDocumentDescription() const{ return m_documentDescription; }
|
|
|
|
/**
|
|
* <p>A description of the document that was updated.</p>
|
|
*/
|
|
inline void SetDocumentDescription(const DocumentDescription& value) { m_documentDescription = value; }
|
|
|
|
/**
|
|
* <p>A description of the document that was updated.</p>
|
|
*/
|
|
inline void SetDocumentDescription(DocumentDescription&& value) { m_documentDescription = std::move(value); }
|
|
|
|
/**
|
|
* <p>A description of the document that was updated.</p>
|
|
*/
|
|
inline UpdateDocumentResult& WithDocumentDescription(const DocumentDescription& value) { SetDocumentDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the document that was updated.</p>
|
|
*/
|
|
inline UpdateDocumentResult& WithDocumentDescription(DocumentDescription&& value) { SetDocumentDescription(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
DocumentDescription m_documentDescription;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|