/** * 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 RolesAnywhere { namespace Model { /** */ class DisableTrustAnchorRequest : public RolesAnywhereRequest { public: AWS_ROLESANYWHERE_API DisableTrustAnchorRequest(); // 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 "DisableTrustAnchor"; } AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override; /** *

The unique identifier of the trust anchor.

*/ inline const Aws::String& GetTrustAnchorId() const{ return m_trustAnchorId; } /** *

The unique identifier of the trust anchor.

*/ inline bool TrustAnchorIdHasBeenSet() const { return m_trustAnchorIdHasBeenSet; } /** *

The unique identifier of the trust anchor.

*/ inline void SetTrustAnchorId(const Aws::String& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = value; } /** *

The unique identifier of the trust anchor.

*/ inline void SetTrustAnchorId(Aws::String&& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = std::move(value); } /** *

The unique identifier of the trust anchor.

*/ inline void SetTrustAnchorId(const char* value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId.assign(value); } /** *

The unique identifier of the trust anchor.

*/ inline DisableTrustAnchorRequest& WithTrustAnchorId(const Aws::String& value) { SetTrustAnchorId(value); return *this;} /** *

The unique identifier of the trust anchor.

*/ inline DisableTrustAnchorRequest& WithTrustAnchorId(Aws::String&& value) { SetTrustAnchorId(std::move(value)); return *this;} /** *

The unique identifier of the trust anchor.

*/ inline DisableTrustAnchorRequest& WithTrustAnchorId(const char* value) { SetTrustAnchorId(value); return *this;} private: Aws::String m_trustAnchorId; bool m_trustAnchorIdHasBeenSet = false; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws