68 lines
1.5 KiB
C++
68 lines
1.5 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/Parameter.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 GetParameterResult
|
|
{
|
|
public:
|
|
GetParameterResult();
|
|
GetParameterResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetParameterResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>Information about a parameter.</p>
|
|
*/
|
|
inline const Parameter& GetParameter() const{ return m_parameter; }
|
|
|
|
/**
|
|
* <p>Information about a parameter.</p>
|
|
*/
|
|
inline void SetParameter(const Parameter& value) { m_parameter = value; }
|
|
|
|
/**
|
|
* <p>Information about a parameter.</p>
|
|
*/
|
|
inline void SetParameter(Parameter&& value) { m_parameter = std::move(value); }
|
|
|
|
/**
|
|
* <p>Information about a parameter.</p>
|
|
*/
|
|
inline GetParameterResult& WithParameter(const Parameter& value) { SetParameter(value); return *this;}
|
|
|
|
/**
|
|
* <p>Information about a parameter.</p>
|
|
*/
|
|
inline GetParameterResult& WithParameter(Parameter&& value) { SetParameter(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Parameter m_parameter;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|