/** * 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 OpsWorks { namespace Model { /** */ class DescribeUserProfilesRequest : public OpsWorksRequest { public: AWS_OPSWORKS_API DescribeUserProfilesRequest(); // 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 "DescribeUserProfiles"; } AWS_OPSWORKS_API Aws::String SerializePayload() const override; AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline const Aws::Vector& GetIamUserArns() const{ return m_iamUserArns; } /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline bool IamUserArnsHasBeenSet() const { return m_iamUserArnsHasBeenSet; } /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline void SetIamUserArns(const Aws::Vector& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns = value; } /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline void SetIamUserArns(Aws::Vector&& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns = std::move(value); } /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline DescribeUserProfilesRequest& WithIamUserArns(const Aws::Vector& value) { SetIamUserArns(value); return *this;} /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline DescribeUserProfilesRequest& WithIamUserArns(Aws::Vector&& value) { SetIamUserArns(std::move(value)); return *this;} /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline DescribeUserProfilesRequest& AddIamUserArns(const Aws::String& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns.push_back(value); return *this; } /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline DescribeUserProfilesRequest& AddIamUserArns(Aws::String&& value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns.push_back(std::move(value)); return *this; } /** *

An array of IAM or federated user ARNs that identify the users to be * described.

*/ inline DescribeUserProfilesRequest& AddIamUserArns(const char* value) { m_iamUserArnsHasBeenSet = true; m_iamUserArns.push_back(value); return *this; } private: Aws::Vector m_iamUserArns; bool m_iamUserArnsHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws