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-securityhub/include/aws/securityhub/model/DescribeStandardsResult.h

118 lines
3.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/securityhub/model/Standard.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
class AWS_SECURITYHUB_API DescribeStandardsResult
{
public:
DescribeStandardsResult();
DescribeStandardsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeStandardsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of available standards.</p>
*/
inline const Aws::Vector<Standard>& GetStandards() const{ return m_standards; }
/**
* <p>A list of available standards.</p>
*/
inline void SetStandards(const Aws::Vector<Standard>& value) { m_standards = value; }
/**
* <p>A list of available standards.</p>
*/
inline void SetStandards(Aws::Vector<Standard>&& value) { m_standards = std::move(value); }
/**
* <p>A list of available standards.</p>
*/
inline DescribeStandardsResult& WithStandards(const Aws::Vector<Standard>& value) { SetStandards(value); return *this;}
/**
* <p>A list of available standards.</p>
*/
inline DescribeStandardsResult& WithStandards(Aws::Vector<Standard>&& value) { SetStandards(std::move(value)); return *this;}
/**
* <p>A list of available standards.</p>
*/
inline DescribeStandardsResult& AddStandards(const Standard& value) { m_standards.push_back(value); return *this; }
/**
* <p>A list of available standards.</p>
*/
inline DescribeStandardsResult& AddStandards(Standard&& value) { m_standards.push_back(std::move(value)); return *this; }
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline DescribeStandardsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline DescribeStandardsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The pagination token to use to request the next page of results.</p>
*/
inline DescribeStandardsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Standard> m_standards;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws