/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoTWireless { namespace Model { /** */ class UpdatePartnerAccountRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API UpdatePartnerAccountRequest(); // 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 "UpdatePartnerAccount"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Sidewalk account credentials.

*/ inline const SidewalkUpdateAccount& GetSidewalk() const{ return m_sidewalk; } /** *

The Sidewalk account credentials.

*/ inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; } /** *

The Sidewalk account credentials.

*/ inline void SetSidewalk(const SidewalkUpdateAccount& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; } /** *

The Sidewalk account credentials.

*/ inline void SetSidewalk(SidewalkUpdateAccount&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); } /** *

The Sidewalk account credentials.

*/ inline UpdatePartnerAccountRequest& WithSidewalk(const SidewalkUpdateAccount& value) { SetSidewalk(value); return *this;} /** *

The Sidewalk account credentials.

*/ inline UpdatePartnerAccountRequest& WithSidewalk(SidewalkUpdateAccount&& value) { SetSidewalk(std::move(value)); return *this;} /** *

The ID of the partner account to update.

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

The ID of the partner account to update.

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

The ID of the partner account to update.

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

The ID of the partner account to update.

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

The ID of the partner account to update.

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

The ID of the partner account to update.

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

The ID of the partner account to update.

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

The ID of the partner account to update.

*/ inline UpdatePartnerAccountRequest& 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 UpdatePartnerAccountRequest& WithPartnerType(const PartnerType& value) { SetPartnerType(value); return *this;} /** *

The partner type.

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