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

#pragma once
#include <aws/config/ConfigServiceRequest.h>
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

#include <utility>

namespace Aws {
namespace ConfigService {
namespace Model {

/**
 */
class DeletePendingAggregationRequestRequest : public ConfigServiceRequest {
 public:
  AWS_CONFIGSERVICE_API DeletePendingAggregationRequestRequest() = 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 "DeletePendingAggregationRequest"; }

  AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;

  AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;

  ///@{
  /**
   * <p>The 12-digit account ID of the account requesting to aggregate data.</p>
   */
  inline const Aws::String& GetRequesterAccountId() const { return m_requesterAccountId; }
  inline bool RequesterAccountIdHasBeenSet() const { return m_requesterAccountIdHasBeenSet; }
  template <typename RequesterAccountIdT = Aws::String>
  void SetRequesterAccountId(RequesterAccountIdT&& value) {
    m_requesterAccountIdHasBeenSet = true;
    m_requesterAccountId = std::forward<RequesterAccountIdT>(value);
  }
  template <typename RequesterAccountIdT = Aws::String>
  DeletePendingAggregationRequestRequest& WithRequesterAccountId(RequesterAccountIdT&& value) {
    SetRequesterAccountId(std::forward<RequesterAccountIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The region requesting to aggregate data.</p>
   */
  inline const Aws::String& GetRequesterAwsRegion() const { return m_requesterAwsRegion; }
  inline bool RequesterAwsRegionHasBeenSet() const { return m_requesterAwsRegionHasBeenSet; }
  template <typename RequesterAwsRegionT = Aws::String>
  void SetRequesterAwsRegion(RequesterAwsRegionT&& value) {
    m_requesterAwsRegionHasBeenSet = true;
    m_requesterAwsRegion = std::forward<RequesterAwsRegionT>(value);
  }
  template <typename RequesterAwsRegionT = Aws::String>
  DeletePendingAggregationRequestRequest& WithRequesterAwsRegion(RequesterAwsRegionT&& value) {
    SetRequesterAwsRegion(std::forward<RequesterAwsRegionT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_requesterAccountId;

  Aws::String m_requesterAwsRegion;
  bool m_requesterAccountIdHasBeenSet = false;
  bool m_requesterAwsRegionHasBeenSet = false;
};

}  // namespace Model
}  // namespace ConfigService
}  // namespace Aws
