/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace FMS { namespace Model { /** */ class ListComplianceStatusRequest : public FMSRequest { public: AWS_FMS_API ListComplianceStatusRequest(); // 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 "ListComplianceStatus"; } AWS_FMS_API Aws::String SerializePayload() const override; AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline const Aws::String& GetPolicyId() const{ return m_policyId; } /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; } /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; } /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); } /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); } /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline ListComplianceStatusRequest& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;} /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline ListComplianceStatusRequest& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;} /** *

The ID of the Firewall Manager policy that you want the details for.

*/ inline ListComplianceStatusRequest& WithPolicyId(const char* value) { SetPolicyId(value); return *this;} /** *

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

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

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

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

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

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

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

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

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

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

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

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

If you specify a value for MaxResults and you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, Firewall Manager returns a NextToken value * in the response that allows you to list another group of * PolicyComplianceStatus objects. For the second and subsequent * ListComplianceStatus requests, specify the value of * NextToken from the previous response to get information about * another batch of PolicyComplianceStatus objects.

*/ inline ListComplianceStatusRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Specifies the number of PolicyComplianceStatus objects that you * want Firewall Manager to return for this request. If you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, the response includes a NextToken value * that you can use to get another batch of PolicyComplianceStatus * objects.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Specifies the number of PolicyComplianceStatus objects that you * want Firewall Manager to return for this request. If you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, the response includes a NextToken value * that you can use to get another batch of PolicyComplianceStatus * objects.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Specifies the number of PolicyComplianceStatus objects that you * want Firewall Manager to return for this request. If you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, the response includes a NextToken value * that you can use to get another batch of PolicyComplianceStatus * objects.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Specifies the number of PolicyComplianceStatus objects that you * want Firewall Manager to return for this request. If you have more * PolicyComplianceStatus objects than the number that you specify for * MaxResults, the response includes a NextToken value * that you can use to get another batch of PolicyComplianceStatus * objects.

*/ inline ListComplianceStatusRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_policyId; bool m_policyIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws