/** * 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 Http { class URI; } //namespace Http namespace AuditManager { namespace Model { /** */ class ListControlsRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API ListControlsRequest(); // 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 "ListControls"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The type of control, such as a standard control or a custom control.

*/ inline const ControlType& GetControlType() const{ return m_controlType; } /** *

The type of control, such as a standard control or a custom control.

*/ inline bool ControlTypeHasBeenSet() const { return m_controlTypeHasBeenSet; } /** *

The type of control, such as a standard control or a custom control.

*/ inline void SetControlType(const ControlType& value) { m_controlTypeHasBeenSet = true; m_controlType = value; } /** *

The type of control, such as a standard control or a custom control.

*/ inline void SetControlType(ControlType&& value) { m_controlTypeHasBeenSet = true; m_controlType = std::move(value); } /** *

The type of control, such as a standard control or a custom control.

*/ inline ListControlsRequest& WithControlType(const ControlType& value) { SetControlType(value); return *this;} /** *

The type of control, such as a standard control or a custom control.

*/ inline ListControlsRequest& WithControlType(ControlType&& value) { SetControlType(std::move(value)); return *this;} /** *

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

The pagination token that's used to fetch the next set of results.

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

Represents the maximum number of results on a page or for an API request * call.

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

Represents the maximum number of results on a page or for an API request * call.

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

Represents the maximum number of results on a page or for an API request * call.

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

Represents the maximum number of results on a page or for an API request * call.

*/ inline ListControlsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: ControlType m_controlType; bool m_controlTypeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws