/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifiers for the federated user that is associated with the
* credentials.See Also:
AWS
* API Reference
The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline const Aws::String& GetFederatedUserId() const{ return m_federatedUserId; } /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline bool FederatedUserIdHasBeenSet() const { return m_federatedUserIdHasBeenSet; } /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline void SetFederatedUserId(const Aws::String& value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId = value; } /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline void SetFederatedUserId(Aws::String&& value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId = std::move(value); } /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline void SetFederatedUserId(const char* value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId.assign(value); } /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline FederatedUser& WithFederatedUserId(const Aws::String& value) { SetFederatedUserId(value); return *this;} /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline FederatedUser& WithFederatedUserId(Aws::String&& value) { SetFederatedUserId(std::move(value)); return *this;} /** *The string that identifies the federated user associated with the * credentials, similar to the unique ID of an IAM user.
*/ inline FederatedUser& WithFederatedUserId(const char* value) { SetFederatedUserId(value); return *this;} /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline FederatedUser& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline FederatedUser& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN that specifies the federated user that is associated with the * credentials. For more information about ARNs and how to use them in policies, * see IAM * Identifiers in the IAM User Guide.
*/ inline FederatedUser& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_federatedUserId; bool m_federatedUserIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace STS } // namespace Aws