/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/chime-sdk-voice/ChimeSDKVoiceRequest.h>
#include <aws/chime-sdk-voice/ChimeSDKVoice_EXPORTS.h>
#include <aws/chime-sdk-voice/model/UpdatePhoneNumberRequestItem.h>
#include <aws/core/utils/memory/stl/AWSVector.h>

#include <utility>

namespace Aws {
namespace ChimeSDKVoice {
namespace Model {

/**
 */
class BatchUpdatePhoneNumberRequest : public ChimeSDKVoiceRequest {
 public:
  AWS_CHIMESDKVOICE_API BatchUpdatePhoneNumberRequest() = default;

  // 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 "BatchUpdatePhoneNumber"; }

  AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override;

  ///@{
  /**
   * <p>Lists the phone numbers in the update request.</p>
   */
  inline const Aws::Vector<UpdatePhoneNumberRequestItem>& GetUpdatePhoneNumberRequestItems() const {
    return m_updatePhoneNumberRequestItems;
  }
  inline bool UpdatePhoneNumberRequestItemsHasBeenSet() const { return m_updatePhoneNumberRequestItemsHasBeenSet; }
  template <typename UpdatePhoneNumberRequestItemsT = Aws::Vector<UpdatePhoneNumberRequestItem>>
  void SetUpdatePhoneNumberRequestItems(UpdatePhoneNumberRequestItemsT&& value) {
    m_updatePhoneNumberRequestItemsHasBeenSet = true;
    m_updatePhoneNumberRequestItems = std::forward<UpdatePhoneNumberRequestItemsT>(value);
  }
  template <typename UpdatePhoneNumberRequestItemsT = Aws::Vector<UpdatePhoneNumberRequestItem>>
  BatchUpdatePhoneNumberRequest& WithUpdatePhoneNumberRequestItems(UpdatePhoneNumberRequestItemsT&& value) {
    SetUpdatePhoneNumberRequestItems(std::forward<UpdatePhoneNumberRequestItemsT>(value));
    return *this;
  }
  template <typename UpdatePhoneNumberRequestItemsT = UpdatePhoneNumberRequestItem>
  BatchUpdatePhoneNumberRequest& AddUpdatePhoneNumberRequestItems(UpdatePhoneNumberRequestItemsT&& value) {
    m_updatePhoneNumberRequestItemsHasBeenSet = true;
    m_updatePhoneNumberRequestItems.emplace_back(std::forward<UpdatePhoneNumberRequestItemsT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::Vector<UpdatePhoneNumberRequestItem> m_updatePhoneNumberRequestItems;
  bool m_updatePhoneNumberRequestItemsHasBeenSet = false;
};

}  // namespace Model
}  // namespace ChimeSDKVoice
}  // namespace Aws
