/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SecurityHub { namespace Model { /** */ class GetEnabledStandardsRequest : public SecurityHubRequest { public: AWS_SECURITYHUB_API GetEnabledStandardsRequest(); // 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 "GetEnabledStandards"; } AWS_SECURITYHUB_API Aws::String SerializePayload() const override; /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline const Aws::Vector& GetStandardsSubscriptionArns() const{ return m_standardsSubscriptionArns; } /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline bool StandardsSubscriptionArnsHasBeenSet() const { return m_standardsSubscriptionArnsHasBeenSet; } /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline void SetStandardsSubscriptionArns(const Aws::Vector& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns = value; } /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline void SetStandardsSubscriptionArns(Aws::Vector&& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns = std::move(value); } /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline GetEnabledStandardsRequest& WithStandardsSubscriptionArns(const Aws::Vector& value) { SetStandardsSubscriptionArns(value); return *this;} /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline GetEnabledStandardsRequest& WithStandardsSubscriptionArns(Aws::Vector&& value) { SetStandardsSubscriptionArns(std::move(value)); return *this;} /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline GetEnabledStandardsRequest& AddStandardsSubscriptionArns(const Aws::String& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns.push_back(value); return *this; } /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline GetEnabledStandardsRequest& AddStandardsSubscriptionArns(Aws::String&& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns.push_back(std::move(value)); return *this; } /** *

The list of the standards subscription ARNs for the standards to * retrieve.

*/ inline GetEnabledStandardsRequest& AddStandardsSubscriptionArns(const char* value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns.push_back(value); return *this; } /** *

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The token that is required for pagination. On your first call to the * GetEnabledStandards operation, set the value of this parameter to * NULL.

For subsequent calls to the operation, to continue * listing data, set the value of this parameter to the value returned from the * previous response.

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

The maximum number of results to return in the response.

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

The maximum number of results to return in the response.

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

The maximum number of results to return in the response.

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

The maximum number of results to return in the response.

*/ inline GetEnabledStandardsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::Vector m_standardsSubscriptionArns; bool m_standardsSubscriptionArnsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws