/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 GetParametersByPathResult { public: GetParametersByPathResult(); GetParametersByPathResult(const Aws::AmazonWebServiceResult& result); GetParametersByPathResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of parameters found in the specified hierarchy.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

A list of parameters found in the specified hierarchy.

*/ inline void SetParameters(const Aws::Vector& value) { m_parameters = value; } /** *

A list of parameters found in the specified hierarchy.

*/ inline void SetParameters(Aws::Vector&& value) { m_parameters = std::move(value); } /** *

A list of parameters found in the specified hierarchy.

*/ inline GetParametersByPathResult& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

A list of parameters found in the specified hierarchy.

*/ inline GetParametersByPathResult& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

A list of parameters found in the specified hierarchy.

*/ inline GetParametersByPathResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; } /** *

A list of parameters found in the specified hierarchy.

*/ inline GetParametersByPathResult& AddParameters(Parameter&& value) { m_parameters.push_back(std::move(value)); return *this; } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline GetParametersByPathResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline GetParametersByPathResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next set of items to return. Use this token to get the next * set of results.

*/ inline GetParametersByPathResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_parameters; Aws::String m_nextToken; }; } // namespace Model } // namespace SSM } // namespace Aws