125 lines
3.9 KiB
C++
125 lines
3.9 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/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.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 GetParametersByPathResult
|
|
{
|
|
public:
|
|
GetParametersByPathResult();
|
|
GetParametersByPathResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetParametersByPathResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parameters = value; }
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parameters = std::move(value); }
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline GetParametersByPathResult& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline GetParametersByPathResult& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline GetParametersByPathResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A list of parameters found in the specified hierarchy.</p>
|
|
*/
|
|
inline GetParametersByPathResult& AddParameters(Parameter&& value) { m_parameters.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline GetParametersByPathResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline GetParametersByPathResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. Use this token to get the next
|
|
* set of results.</p>
|
|
*/
|
|
inline GetParametersByPathResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::Vector<Parameter> m_parameters;
|
|
|
|
Aws::String m_nextToken;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|