/** * 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 IAM { namespace Model { /** */ class GetContextKeysForCustomPolicyRequest : public IAMRequest { public: AWS_IAM_API GetContextKeysForCustomPolicyRequest(); // 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 "GetContextKeysForCustomPolicy"; } AWS_IAM_API Aws::String SerializePayload() const override; protected: AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline const Aws::Vector& GetPolicyInputList() const{ return m_policyInputList; } /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline bool PolicyInputListHasBeenSet() const { return m_policyInputListHasBeenSet; } /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline void SetPolicyInputList(const Aws::Vector& value) { m_policyInputListHasBeenSet = true; m_policyInputList = value; } /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline void SetPolicyInputList(Aws::Vector&& value) { m_policyInputListHasBeenSet = true; m_policyInputList = std::move(value); } /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline GetContextKeysForCustomPolicyRequest& WithPolicyInputList(const Aws::Vector& value) { SetPolicyInputList(value); return *this;} /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline GetContextKeysForCustomPolicyRequest& WithPolicyInputList(Aws::Vector&& value) { SetPolicyInputList(std::move(value)); return *this;} /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline GetContextKeysForCustomPolicyRequest& AddPolicyInputList(const Aws::String& value) { m_policyInputListHasBeenSet = true; m_policyInputList.push_back(value); return *this; } /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline GetContextKeysForCustomPolicyRequest& AddPolicyInputList(Aws::String&& value) { m_policyInputListHasBeenSet = true; m_policyInputList.push_back(std::move(value)); return *this; } /** *

A list of policies for which you want the list of context keys referenced in * those policies. Each document is specified as a string containing the complete, * valid JSON text of an IAM policy.

The regex pattern used to validate this * parameter is a string of characters consisting of the following:

  • *

    Any printable ASCII character ranging from the space character * (\u0020) through the end of the ASCII character range

  • *
  • The printable characters in the Basic Latin and Latin-1 Supplement * character set (through \u00FF)

  • The special * characters tab (\u0009), line feed (\u000A), and * carriage return (\u000D)

*/ inline GetContextKeysForCustomPolicyRequest& AddPolicyInputList(const char* value) { m_policyInputListHasBeenSet = true; m_policyInputList.push_back(value); return *this; } private: Aws::Vector m_policyInputList; bool m_policyInputListHasBeenSet = false; }; } // namespace Model } // namespace IAM } // namespace Aws