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

The unique identifier for the control domain.

*/ inline const Aws::String& GetControlDomainId() const{ return m_controlDomainId; } /** *

The unique identifier for the control domain.

*/ inline bool ControlDomainIdHasBeenSet() const { return m_controlDomainIdHasBeenSet; } /** *

The unique identifier for the control domain.

*/ inline void SetControlDomainId(const Aws::String& value) { m_controlDomainIdHasBeenSet = true; m_controlDomainId = value; } /** *

The unique identifier for the control domain.

*/ inline void SetControlDomainId(Aws::String&& value) { m_controlDomainIdHasBeenSet = true; m_controlDomainId = std::move(value); } /** *

The unique identifier for the control domain.

*/ inline void SetControlDomainId(const char* value) { m_controlDomainIdHasBeenSet = true; m_controlDomainId.assign(value); } /** *

The unique identifier for the control domain.

*/ inline ListControlInsightsByControlDomainRequest& WithControlDomainId(const Aws::String& value) { SetControlDomainId(value); return *this;} /** *

The unique identifier for the control domain.

*/ inline ListControlInsightsByControlDomainRequest& WithControlDomainId(Aws::String&& value) { SetControlDomainId(std::move(value)); return *this;} /** *

The unique identifier for the control domain.

*/ inline ListControlInsightsByControlDomainRequest& WithControlDomainId(const char* value) { SetControlDomainId(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 ListControlInsightsByControlDomainRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

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

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

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

*/ inline ListControlInsightsByControlDomainRequest& 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 ListControlInsightsByControlDomainRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_controlDomainId; bool m_controlDomainIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws