/**
 * 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/storagegateway/StorageGateway_EXPORTS.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

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

  ///@{
  /**
   * <p>The ARN of the newly created file system association.</p>
   */
  inline const Aws::String& GetFileSystemAssociationARN() const { return m_fileSystemAssociationARN; }
  template <typename FileSystemAssociationARNT = Aws::String>
  void SetFileSystemAssociationARN(FileSystemAssociationARNT&& value) {
    m_fileSystemAssociationARNHasBeenSet = true;
    m_fileSystemAssociationARN = std::forward<FileSystemAssociationARNT>(value);
  }
  template <typename FileSystemAssociationARNT = Aws::String>
  AssociateFileSystemResult& WithFileSystemAssociationARN(FileSystemAssociationARNT&& value) {
    SetFileSystemAssociationARN(std::forward<FileSystemAssociationARNT>(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>
  AssociateFileSystemResult& WithRequestId(RequestIdT&& value) {
    SetRequestId(std::forward<RequestIdT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_fileSystemAssociationARN;

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

}  // namespace Model
}  // namespace StorageGateway
}  // namespace Aws
