This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-config/include/aws/config/model/SelectResourceConfigResult.h

158 lines
5.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/config/model/QueryInfo.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ConfigService
{
namespace Model
{
class AWS_CONFIGSERVICE_API SelectResourceConfigResult
{
public:
SelectResourceConfigResult();
SelectResourceConfigResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
SelectResourceConfigResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Returns the results for the SQL query.</p>
*/
inline const Aws::Vector<Aws::String>& GetResults() const{ return m_results; }
/**
* <p>Returns the results for the SQL query.</p>
*/
inline void SetResults(const Aws::Vector<Aws::String>& value) { m_results = value; }
/**
* <p>Returns the results for the SQL query.</p>
*/
inline void SetResults(Aws::Vector<Aws::String>&& value) { m_results = std::move(value); }
/**
* <p>Returns the results for the SQL query.</p>
*/
inline SelectResourceConfigResult& WithResults(const Aws::Vector<Aws::String>& value) { SetResults(value); return *this;}
/**
* <p>Returns the results for the SQL query.</p>
*/
inline SelectResourceConfigResult& WithResults(Aws::Vector<Aws::String>&& value) { SetResults(std::move(value)); return *this;}
/**
* <p>Returns the results for the SQL query.</p>
*/
inline SelectResourceConfigResult& AddResults(const Aws::String& value) { m_results.push_back(value); return *this; }
/**
* <p>Returns the results for the SQL query.</p>
*/
inline SelectResourceConfigResult& AddResults(Aws::String&& value) { m_results.push_back(std::move(value)); return *this; }
/**
* <p>Returns the results for the SQL query.</p>
*/
inline SelectResourceConfigResult& AddResults(const char* value) { m_results.push_back(value); return *this; }
/**
* <p>Returns the <code>QueryInfo</code> object.</p>
*/
inline const QueryInfo& GetQueryInfo() const{ return m_queryInfo; }
/**
* <p>Returns the <code>QueryInfo</code> object.</p>
*/
inline void SetQueryInfo(const QueryInfo& value) { m_queryInfo = value; }
/**
* <p>Returns the <code>QueryInfo</code> object.</p>
*/
inline void SetQueryInfo(QueryInfo&& value) { m_queryInfo = std::move(value); }
/**
* <p>Returns the <code>QueryInfo</code> object.</p>
*/
inline SelectResourceConfigResult& WithQueryInfo(const QueryInfo& value) { SetQueryInfo(value); return *this;}
/**
* <p>Returns the <code>QueryInfo</code> object.</p>
*/
inline SelectResourceConfigResult& WithQueryInfo(QueryInfo&& value) { SetQueryInfo(std::move(value)); return *this;}
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline SelectResourceConfigResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline SelectResourceConfigResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The <code>nextToken</code> string returned in a previous request that you use
* to request the next page of results in a paginated response. </p>
*/
inline SelectResourceConfigResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Aws::String> m_results;
QueryInfo m_queryInfo;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace ConfigService
} // namespace Aws