217 lines
8.0 KiB
C++
217 lines
8.0 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/SSMRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/ssm/model/ParametersFilter.h>
|
|
#include <aws/ssm/model/ParameterStringFilter.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace SSM
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_SSM_API DescribeParametersRequest : public SSMRequest
|
|
{
|
|
public:
|
|
DescribeParametersRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "DescribeParameters"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline const Aws::Vector<ParametersFilter>& GetFilters() const{ return m_filters; }
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline void SetFilters(const Aws::Vector<ParametersFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline void SetFilters(Aws::Vector<ParametersFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithFilters(const Aws::Vector<ParametersFilter>& value) { SetFilters(value); return *this;}
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithFilters(Aws::Vector<ParametersFilter>&& value) { SetFilters(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline DescribeParametersRequest& AddFilters(const ParametersFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>This data type is deprecated. Instead, use <code>ParameterFilters</code>.</p>
|
|
*/
|
|
inline DescribeParametersRequest& AddFilters(ParametersFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline const Aws::Vector<ParameterStringFilter>& GetParameterFilters() const{ return m_parameterFilters; }
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline bool ParameterFiltersHasBeenSet() const { return m_parameterFiltersHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline void SetParameterFilters(const Aws::Vector<ParameterStringFilter>& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = value; }
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline void SetParameterFilters(Aws::Vector<ParameterStringFilter>&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters = std::move(value); }
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithParameterFilters(const Aws::Vector<ParameterStringFilter>& value) { SetParameterFilters(value); return *this;}
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithParameterFilters(Aws::Vector<ParameterStringFilter>&& value) { SetParameterFilters(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline DescribeParametersRequest& AddParameterFilters(const ParameterStringFilter& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>Filters to limit the request results.</p>
|
|
*/
|
|
inline DescribeParametersRequest& AddParameterFilters(ParameterStringFilter&& value) { m_parameterFiltersHasBeenSet = true; m_parameterFilters.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The maximum number of items to return for this call. The call also returns a
|
|
* token that you can specify in a subsequent call to get the next set of
|
|
* results.</p>
|
|
*/
|
|
inline int GetMaxResults() const{ return m_maxResults; }
|
|
|
|
/**
|
|
* <p>The maximum number of items to return for this call. The call also returns a
|
|
* token that you can specify in a subsequent call to get the next set of
|
|
* results.</p>
|
|
*/
|
|
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum number of items to return for this call. The call also returns a
|
|
* token that you can specify in a subsequent call to get the next set of
|
|
* results.</p>
|
|
*/
|
|
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
|
|
|
|
/**
|
|
* <p>The maximum number of items to return for this call. The call also returns a
|
|
* token that you can specify in a subsequent call to get the next set of
|
|
* results.</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The token for the next set of items to return. (You received this token from
|
|
* a previous call.)</p>
|
|
*/
|
|
inline DescribeParametersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::Vector<ParametersFilter> m_filters;
|
|
bool m_filtersHasBeenSet;
|
|
|
|
Aws::Vector<ParameterStringFilter> m_parameterFilters;
|
|
bool m_parameterFiltersHasBeenSet;
|
|
|
|
int m_maxResults;
|
|
bool m_maxResultsHasBeenSet;
|
|
|
|
Aws::String m_nextToken;
|
|
bool m_nextTokenHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|