/** * 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 Http { class URI; } //namespace Http namespace IoTWireless { namespace Model { /** */ class DisassociateAwsAccountFromPartnerAccountRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API DisassociateAwsAccountFromPartnerAccountRequest(); // 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 "DisassociateAwsAccountFromPartnerAccount"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The partner account ID to disassociate from the AWS account.

*/ inline const Aws::String& GetPartnerAccountId() const{ return m_partnerAccountId; } /** *

The partner account ID to disassociate from the AWS account.

*/ inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; } /** *

The partner account ID to disassociate from the AWS account.

*/ inline void SetPartnerAccountId(const Aws::String& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = value; } /** *

The partner account ID to disassociate from the AWS account.

*/ inline void SetPartnerAccountId(Aws::String&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::move(value); } /** *

The partner account ID to disassociate from the AWS account.

*/ inline void SetPartnerAccountId(const char* value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId.assign(value); } /** *

The partner account ID to disassociate from the AWS account.

*/ inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerAccountId(const Aws::String& value) { SetPartnerAccountId(value); return *this;} /** *

The partner account ID to disassociate from the AWS account.

*/ inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerAccountId(Aws::String&& value) { SetPartnerAccountId(std::move(value)); return *this;} /** *

The partner account ID to disassociate from the AWS account.

*/ inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerAccountId(const char* value) { SetPartnerAccountId(value); return *this;} /** *

The partner type.

*/ inline const PartnerType& GetPartnerType() const{ return m_partnerType; } /** *

The partner type.

*/ inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; } /** *

The partner type.

*/ inline void SetPartnerType(const PartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; } /** *

The partner type.

*/ inline void SetPartnerType(PartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); } /** *

The partner type.

*/ inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerType(const PartnerType& value) { SetPartnerType(value); return *this;} /** *

The partner type.

*/ inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerType(PartnerType&& value) { SetPartnerType(std::move(value)); return *this;} private: Aws::String m_partnerAccountId; bool m_partnerAccountIdHasBeenSet = false; PartnerType m_partnerType; bool m_partnerTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws