/**
 * 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/devicefarm/DeviceFarm_EXPORTS.h>
#include <aws/devicefarm/model/InstanceProfile.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Json {
class JsonValue;
}  // namespace Json
}  // namespace Utils
namespace DeviceFarm {
namespace Model {
class UpdateInstanceProfileResult {
 public:
  AWS_DEVICEFARM_API UpdateInstanceProfileResult() = default;
  AWS_DEVICEFARM_API UpdateInstanceProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  AWS_DEVICEFARM_API UpdateInstanceProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);

  ///@{
  /**
   * <p>An object that contains information about your instance profile.</p>
   */
  inline const InstanceProfile& GetInstanceProfile() const { return m_instanceProfile; }
  template <typename InstanceProfileT = InstanceProfile>
  void SetInstanceProfile(InstanceProfileT&& value) {
    m_instanceProfileHasBeenSet = true;
    m_instanceProfile = std::forward<InstanceProfileT>(value);
  }
  template <typename InstanceProfileT = InstanceProfile>
  UpdateInstanceProfileResult& WithInstanceProfile(InstanceProfileT&& value) {
    SetInstanceProfile(std::forward<InstanceProfileT>(value));
    return *this;
  }
  ///@}

  ///@{

  inline const Aws::String& GetRequestId() const { return m_requestId; }
  template <typename RequestIdT = Aws::String>
  void SetRequestId(RequestIdT&& value) {
    m_requestIdHasBeenSet = true;
    m_requestId = std::forward<RequestIdT>(value);
  }
  template <typename RequestIdT = Aws::String>
  UpdateInstanceProfileResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  InstanceProfile m_instanceProfile;
  bool m_instanceProfileHasBeenSet = false;

  Aws::String m_requestId;
  bool m_requestIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace DeviceFarm
}  // namespace Aws
