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/DescribeComplianceByConfigRuleRequest.h

200 lines
8.5 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/config/ConfigServiceRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/config/model/ComplianceType.h>
#include <utility>
namespace Aws
{
namespace ConfigService
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleRequest">AWS
* API Reference</a></p>
*/
class AWS_CONFIGSERVICE_API DescribeComplianceByConfigRuleRequest : public ConfigServiceRequest
{
public:
DescribeComplianceByConfigRuleRequest();
// 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 "DescribeComplianceByConfigRule"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline const Aws::Vector<Aws::String>& GetConfigRuleNames() const{ return m_configRuleNames; }
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; }
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline void SetConfigRuleNames(const Aws::Vector<Aws::String>& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = value; }
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline void SetConfigRuleNames(Aws::Vector<Aws::String>&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::move(value); }
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithConfigRuleNames(const Aws::Vector<Aws::String>& value) { SetConfigRuleNames(value); return *this;}
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithConfigRuleNames(Aws::Vector<Aws::String>&& value) { SetConfigRuleNames(std::move(value)); return *this;}
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(const Aws::String& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(Aws::String&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(std::move(value)); return *this; }
/**
* <p>Specify one or more AWS Config rule names to filter the results by rule.</p>
*/
inline DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(const char* value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline const Aws::Vector<ComplianceType>& GetComplianceTypes() const{ return m_complianceTypes; }
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline bool ComplianceTypesHasBeenSet() const { return m_complianceTypesHasBeenSet; }
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline void SetComplianceTypes(const Aws::Vector<ComplianceType>& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = value; }
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline void SetComplianceTypes(Aws::Vector<ComplianceType>&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = std::move(value); }
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithComplianceTypes(const Aws::Vector<ComplianceType>& value) { SetComplianceTypes(value); return *this;}
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithComplianceTypes(Aws::Vector<ComplianceType>&& value) { SetComplianceTypes(std::move(value)); return *this;}
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline DescribeComplianceByConfigRuleRequest& AddComplianceTypes(const ComplianceType& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(value); return *this; }
/**
* <p>Filters the results by compliance.</p> <p>The allowed values are
* <code>COMPLIANT</code> and <code>NON_COMPLIANT</code>.</p>
*/
inline DescribeComplianceByConfigRuleRequest& AddComplianceTypes(ComplianceType&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(std::move(value)); return *this; }
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get 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 on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The <code>nextToken</code> string returned on a previous page that you use to
* get the next page of results in a paginated response.</p>
*/
inline DescribeComplianceByConfigRuleRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Aws::String> m_configRuleNames;
bool m_configRuleNamesHasBeenSet;
Aws::Vector<ComplianceType> m_complianceTypes;
bool m_complianceTypesHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace ConfigService
} // namespace Aws