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

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ssm-quicksetup/SSMQuickSetupRequest.h>
#include <aws/ssm-quicksetup/SSMQuickSetup_EXPORTS.h>

#include <utility>

namespace Aws {
namespace SSMQuickSetup {
namespace Model {

/**
 */
class UpdateServiceSettingsRequest : public SSMQuickSetupRequest {
 public:
  AWS_SSMQUICKSETUP_API UpdateServiceSettingsRequest() = 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 "UpdateServiceSettings"; }

  AWS_SSMQUICKSETUP_API Aws::String SerializePayload() const override;

  ///@{
  /**
   * <p>The IAM role used to enable Explorer.</p>
   */
  inline const Aws::String& GetExplorerEnablingRoleArn() const { return m_explorerEnablingRoleArn; }
  inline bool ExplorerEnablingRoleArnHasBeenSet() const { return m_explorerEnablingRoleArnHasBeenSet; }
  template <typename ExplorerEnablingRoleArnT = Aws::String>
  void SetExplorerEnablingRoleArn(ExplorerEnablingRoleArnT&& value) {
    m_explorerEnablingRoleArnHasBeenSet = true;
    m_explorerEnablingRoleArn = std::forward<ExplorerEnablingRoleArnT>(value);
  }
  template <typename ExplorerEnablingRoleArnT = Aws::String>
  UpdateServiceSettingsRequest& WithExplorerEnablingRoleArn(ExplorerEnablingRoleArnT&& value) {
    SetExplorerEnablingRoleArn(std::forward<ExplorerEnablingRoleArnT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_explorerEnablingRoleArn;
  bool m_explorerEnablingRoleArnHasBeenSet = false;
};

}  // namespace Model
}  // namespace SSMQuickSetup
}  // namespace Aws
